Lines Matching refs:width
604 function drawCircle(Point $center, $height, Color $color, ShadowProperties $shadowProperties, $width = null) {
605 if($width == null) {
606 $width = $height;
609 $Step = 360 / (2 * M_PI * max($width, $height));
613 $Y = sin($i * M_PI / 180) * $width + $center->getY();
623 public function drawFilledCircle(Point $center, $height, Color $color, ShadowProperties $shadowProperties, $width = null) {
624 if($width == null) {
625 $width = $height;
629 $Step = 360 / (2 * M_PI * max($width, $height));
633 $Y1 = sin($i * M_PI / 180) * $width + $center->getY();
635 $Y2 = sin((180 - $i) * M_PI / 180) * $width + $center->getY();
648 if(($Y1 - 1) > $center->getY() - max($width, $height)) {