class methods
variables
ofStyle class contains general information about the style of our ofGraphics elements such as color, line width and others.
Documentation from code comments
Contains general information about the style of ofGraphics elements such as color, line width and others.
bool bFill
bool ofStyle::bFill
bFill variable contains information about how the graphics have to be drawed: Fill or noFill(empty)
int circleResolution
int ofStyle::circleResolution
circleResolution variable contains the resolution of a ofDrawCircle.
ofColor color
ofColor ofStyle::color
color variable contain the color information for the style object.
float lineWidth
float ofStyle::lineWidth
lineWidth contains information about the width of the line for our ofDrawLine.
int polyMode
int ofStyle::polyMode
polyMode variable contains information about the drawing behavior for ovelapping parts of the same polygon when we create a shape.
Possible modes are:
OF_POLY_WINDING_ODD -
OF_POLY_WINDING_NONZERO -
OF_POLY_WINDING_POSITIVE -
OF_POLY_WINDING_NEGATIVE -
OF_POLY_WINDING_ABS_GEQ_TWO -
int rectMode
int ofStyle::rectMode
rectMode contains information about the mode for drawing rectangles.
If they are corner aligned, or drawn so that the x,y position is the center of the rectangle. Possible options are OF_RECTMODE_CENTER and OF_RECTMODE_CORNER
bool smoothing
bool ofStyle::smoothing
smoothing variable contains the information about if smoothing effect is activated or not.
Last updated 星期二, 19 十一月 2024 17:24:56 UTC - 2537ee49f6d46d5fe98e408849448314fd1f180e
If you have any doubt about the usage of this module you can ask in the forum.
If you want to contribute better documentation or start documenting this section you can do so here
If you find anything wrong with this docs you can report any error by opening an issue