Contents Up << >>

sector

Sectors are the like a "pie slice'' from a circle. The radius of the circle is set by dy. Sectors are defined similarly to segments. In this case, though, a chord is not drawn. Instead, the lines are drawn from the origin of the circle (0,-dy) to the points (-dx,0) and (dx,0). The perimeter of the circle is then drawn between those two points and lies below the x-axis. The sector is then rotated and translated the same as a segment.