public static function ringSector(Point $center, Angle $start, Angle $stop,
			$radius, $innerRadius, $ccw = false)
	{
		$points = new Points($center, false);
		if ($ccw) { $swap = $start; $start = $stop; $stop = $swap; }
		$points->addPoint($center)->translateX($radius)->rotate($center, $start);
		$points->addPoint($center)->translateX($radius)->rotate($center, $stop);
		$points->addPoint($center)->translateX($innerRadius)->rotate($center, $stop);
		$points->addPoint($center)->translateX($innerRadius)->rotate($center, $start);
		return $points;
	}
public static function ringSector(Point $center, Angle $start, Angle $stop,
			$radius, $innerRadius, $ccw = false)
	{
		$points = new Points($center, false);
		if ($ccw) { $swap = $start; $start = $stop; $stop = $swap; }
		$points->addPoint($center)->translateX($radius)->rotate($center, $start);
		$points->addPoint($center)->translateX($radius)->rotate($center, $stop);
		$points->addPoint($center)->translateX($innerRadius)->rotate($center, $stop);
		$points->addPoint($center)->translateX($innerRadius)->rotate($center, $start);
		return $points;
	}
public static function ringSector ( Point $ center , Angle $ start , Angle $ stop , $ radius , $ innerRadius , $ ccw = false ) { $ points = new Points ( $ center , false ) ; if ( $ ccw ) { $ swap = $ start ; $ start = $ stop ; $ stop = $ swap ; } $ points -> addPoint ( $ center ) -> translateX ( $ radius ) -> rotate ( $ center , $ start ) ; $ points -> addPoint ( $ center ) -> translateX ( $ radius ) -> rotate ( $ center , $ stop ) ; $ points -> addPoint ( $ center ) -> translateX ( $ innerRadius ) -> rotate ( $ center , $ stop ) ; $ points -> addPoint ( $ center ) -> translateX ( $ innerRadius ) -> rotate ( $ center , $ start ) ; return $ points ; }
Calculates the points for a sector of a ring.

@param  Point    $center
@param  Angle    $start
@param  Angle    $stop         Must be greater than <code>$start</code>.
@param  float    $radius
@param  float    $innerRadius
@param  boolean  $ccw          Whether to list the points counterclockwise or not.
Calculates the points for a sector of a ring .