MATLAB Programming/Psychtoolbox/Screen Commands/FillArc

Usage:

Screen(windowPtr,'FillArc',[color],[rect],startAngle,arcAngle)

Draw a filled arc inscribed within the rect. color is the clut index (scalar or [r g b] triplet) that you want to poke into each pixel; default produces black with the standard CLUT for this window's pixelSize. Default rect is entire window. Angles are measured clockwise from vertical.