^image.sector(center x;center y;width;height;start in degrees;end in degrees;color)
The method draws a sector with specified parameters, outlined with given color. Parameters of the method are the same as in method arc.
Example
$square[^image::create(100;100;0x000000)]
^square.sector(50;50;40;40;0;90;0xFFFFFF)
$response:body[^square.gif[]]
Browser will display a black square with a sector equal to a quarter (0-90 degrees) of a circle with 40-pixel radius. The sector is outlined with white.