drupal-civicrm/sites/all/modules/civicrm/packages/OpenFlashChart/php-ofc-library/ofc_shape.php

25 lines
322 B
PHP
Raw Normal View History

2018-01-14 15:10:16 +02:00
<?php
class shape_point
{
function __construct( $x, $y )
{
$this->x = $x;
$this->y = $y;
}
}
class shape
{
function __construct( $colour )
{
$this->type = "shape";
$this->colour = $colour;
$this->values = array();
}
function append_value( $p )
{
$this->values[] = $p;
}
}