/** * Draw border as an ellipse * * @param awDriver $driver * @param awPoint $center Ellipse center * @param int $width Ellipse width * @param int $height Ellipse height */ public function ellipse(awDriver $driver, awPoint $center, $width, $height) { // Border is hidden if ($this->hide) { return; } switch ($this->style) { case awLine::SOLID: $driver->ellipse($this->color, $center, $width, $height); break; default: awImage::drawError("Class Border: Dashed and dotted borders and not yet implemented on ellipses."); break; } }