Dompdf\Canvas::arc
Add an arc to the PDF See {@link Style::munge_color()} for the format of the color array.
Signature
public function arc(float
$x,
float
$y,
float
$r1,
float
$r2,
float
$astart,
float
$aend,
array
$color,
float
$width,
[array
$style = ] )
Parameters
$x
—
float
- X coordinate of the arc
$y
—
float
- Y coordinate of the arc
$r1
—
float
- Radius 1
$r2
—
float
- Radius 2
$astart
—
float
- Start angle in degrees
$aend
—
float
- End angle in degrees
$color
—
array
- Color
$width
—
float
$style
—
array