MATLAB Programming/Psychtoolbox/Screen Commands/FillPoly

From Wikibooks, open books for an open world
Jump to navigation Jump to search



Fill polygon. color is the clut index (scalar or [r g b] triplet) that you want to poke into each pixel; default produces white with the standard CLUT for this window's pixelSize. pointList is a matrix: each row specifies the (x,y) coordinates of a vertex.