MATLAB Programming/Psychtoolbox/Screen Commands/FrameOval

From Wikibooks, open books for an open world
< MATLAB Programming‎ | Psychtoolbox‎ | Screen Commands
Jump to: navigation, search

Usage:

Screen(windowPtr,'FrameOval',[color],[rect],[penWidth],[penHeight],[penMode])

Draw the outline of an oval. 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. Default pen size is 1,1.