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

62 lines
870 B
PHP
Raw Normal View History

2018-01-14 15:10:16 +02:00
<?php
class legend
{
function __construct(){}
function set_position( $position )
{
$this->position = $position;
}
function set_visible( $visible )
{
$this->visible = $visible;
}
function set_shadow( $shadow )
{
$this->shadow = $shadow;
}
function set_padding( $padding )
{
$this->padding = $padding;
}
function set_border( $border )
{
$this->border = $border;
}
function set_stroke( $stroke )
{
$this->stroke = $stroke;
}
function set_margin( $margin )
{
$this->margin = $margin;
}
function set_alpha( $alpha )
{
$this->alpha = $alpha;
}
function set_border_colour( $border_colour )
{
$tmp = "border_colour";
$this->$tmp = $border_colour;
}
function set_bg_colour( $bg_colour )
{
$tmp = "bg_colour";
$this->$tmp = $bg_colour;
}
}