/** * Build a new awtext * * @param string $text Your text */ public function __construct($text, $font = NULL, $color = NULL, $angle = 0) { if (is_null($font)) { $font = new awFont2(); } $this->setText($text); $this->setFont($font); // Set default color to black if ($color === NULL) { $color = new awColor(0, 0, 0); } $this->setColor($color); $this->setAngle($angle); $this->border = new awBorder(); $this->border->hide(); }
/** * Build the mark */ function awMark() { $this->fill = new awColor(255, 0, 0, 0); $this->border = new awBorder(); $this->border->hide(); $this->move = new awPoint(0, 0); }
/** * Build the mark */ public function __construct() { $this->fill = new awColor(255, 0, 0, 0); $this->border = new awBorder(); $this->border->hide(); $this->move = new awPoint(0, 0); }