Cpdf::ellipse
draw an ellipse note that the part and filled ellipse are just special cases of this function
draws an ellipse in the current line style centered at $x0,$y0, radii $r1,$r2 if $r2 is not set, then a circle is drawn from $astart to $afinish, measured in degrees, running anti-clockwise from the right hand side of the ellipse. nSeg is not allowed to be less than 2, as this will simply draw a line (and will even draw a pretty crappy shape at 2, as we are approximating with bezier curves.
Signature
public function ellipse(
$x0,
$y0,
$r1,
[integer
$r2 = 0,
[integer
$angle = 0,
[integer
$nSeg = 8,
[integer
$astart = 0,
[integer
$afinish = 360,
[boolean
$close = true,
[boolean
$fill = false,
[boolean
$stroke = true,
[boolean
$incomplete = false]]]]]]]]] )
Parameters
$x0
—$y0
—$r1
—$r2
— integer$angle
— integer$nSeg
— integer$astart
— integer$afinish
— integer$close
— boolean
$fill
— boolean
$stroke
— boolean
$incomplete
— boolean