OpenLayer Offline Manual

OpenLayer | Shape | Ellipse | DrawDisk DrawDisk
void DrawDisk( | const Rgba &color, float innerXRadius, float innerYRadius )
Draws a filled disk. The outer radiuses of the disk are specified by the Ellipse.
void DrawDisk( | const Rgba &innerColor, const Rgba &outerColor, float innerXRadius, float innerYRadius ) const
Draws a gradient filled disk with colors changing smoothly along the radius. Other functions of the class Ellipse
Draw | Draws the ellipse filled with the specified color
DrawOutline | Draws the outline of the ellipse
DrawSlice | Draws a slice of the ellipse
DrawDisk | Draws a filled disk
DrawArc | Draws a filled arc of an ellipse
SetRadius | Sets the x or y radius of the ellipse
GetRadius | Returns the x or y axis of the ellipse
Back to the main page of the manual Questions about DrawDisk? Click here.