Draws a segment of a circle around the x/y location given. All angles for 'drawSegment' are given in radians, and it draws the segment in a clockwise direction.
Draws the outline of a circle segment, around the x and y location.
The 'radius' refers to the distance from the middle of the circle, that the segment is from, to the outer edge.
'isCentred' defines if the x and y location is the top left corner, or the middle.
drawSegment( 10, 10, 200, 0, 30.toRadians(), true )
Draws the segment of a circle, but allows you to specify alignment on the x and y axis.
See the article on How Alignment Works for information on the xAlign and yAlign parameters.