MATLAB Programming/Psychtoolbox/Screen Commands/FrameRect



Draw the outline of a rectangle. 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. penMode specifies the drawing mode: The Win32 GDI interface does not have support for Copy operations in Or and xOr modes. So these pen modes here reprensent the line styles of the pen: 'patCopy' (solid pen, default), 'patOr' (dashed), 'patXor' (dashdot), 'patBic' (dotted), 'notPatCopy' (invisible), 'notPatOr' (dashed), 'notPatXor' (dashdotdot), 'notPatBic' (inside frame).