mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-26 20:18:52 +02:00
Moved under "trunk" to be able to track releases under "tags"
SVN:trunk[55]
This commit is contained in:
25
pages/php-ofc-library/ofc_shape.php
Normal file
25
pages/php-ofc-library/ofc_shape.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
class shape_point
|
||||
{
|
||||
function shape_point( $x, $y )
|
||||
{
|
||||
$this->x = $x;
|
||||
$this->y = $y;
|
||||
}
|
||||
}
|
||||
|
||||
class shape
|
||||
{
|
||||
function shape( $colour )
|
||||
{
|
||||
$this->type = "shape";
|
||||
$this->colour = $colour;
|
||||
$this->values = array();
|
||||
}
|
||||
|
||||
function append_value( $p )
|
||||
{
|
||||
$this->values[] = $p;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user