Click or drag to resize

PieObject.Draw Method

X#
Draw a PieObject object which represents a pie-shaped portion of an ellipse.

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD Draw() AS USUAL
Request Example View Source

Return Value

Type: Usual
Remarks
Tip Tip
Important! This is a callback method used by X#. Normally, it should not be called in your application code.
This method should not be invoked directly in the application code--it is invoked in X# by Window:Draw().
Examples
To draw a PieObject object, call Window:Draw() with the PieObject object as its argument. The window does the drawing by asking each object to draw itself--for example:
X#
1METHOD Expose(oEvent) CLASS MyWindow
2LOCAL oPie AS OBJECT
3oPie := PieObject{Point{10,10},;
4Dimension{20,40},;
5Pen{Color{COLORBLACK}},;
6Brush{Color{COLORRED}}, 0, 180}
7SELF:Draw(oPie)
See Also