Skip to content
Eloy Villasclaras edited this page Apr 18, 2016 · 1 revision

<arc> draws an arc within a <graphics> or a <shape>.

Properties

Property Notes
x Horizontal position of the center
y Vertical position of the center
radius Circle radius
startAngle Starting angle (rads)
endAngle Endind angle (rads)
anticlockwise Whether the arc should be drawn clockwise (false, by default), or anticlockwise (true)
segments Number of arc segments; default is 40

Style

When an <arc> is a child of a <shape>, it inherits its fill and line style. On the other hand, when defined directly under a <graphics> an <arc> can define its own style:

Clone this wiki locally