OpenLayer
|
Shape
|
Rect
|
Draw
Draw
void
Draw
(
const
Rgba
&color )
Draws the rectangle to the Canvas filled with the color.
void
Draw
(
const
Rgba
*colors )
Draws a gradient filled rectangle. The colors should be specified clockwise for each corner starting from the top-left corner.
Other functions of the class
Rect
Draw
Draws a filled rectangle
DrawOutline
Draws an outline of the rectangle
SetAccuracy
Sets the accuracy of the rounded edges
SetRoundness
Sets the roundness of the corners
Back to the main page of the manual
Questions about Draw? Click
here.