Files
opensourcepos/application/libraries/ofc-library/ofc_area_base.php
pappastech ecdf3a5aa1 Version 2.0_RC1. Upgrade to CI 2.1.0.
Tom

git-svn-id: svn+ssh://jekkos@svn.code.sf.net/p/opensourcepos/code/@24 c3eb156b-1dc0-44e1-88ae-e38439141b53
2012-01-16 02:16:01 +00:00

41 lines
533 B
PHP

<?php
/**
* inherits from line
*/
class area extends line
{
function area()
{
$this->type = "area";
}
/**
* the fill colour
*/
function set_fill_colour( $colour )
{
$this->fill = $colour;
}
/**
* sugar: see set_fill_colour
*/
function fill_colour( $colour )
{
$this->set_fill_colour( $colour );
return $this;
}
function set_fill_alpha( $alpha )
{
$tmp = "fill-alpha";
$this->$tmp = $alpha;
}
function set_loop()
{
$this->loop = true;
}
}