RectShape → Object2D → Object

OvalShape Class

Used for drawing (two-dimensional) ellipses in a vector graphics environment.

Properties
Segments

# Example

Place the following method in the MouseDown event handler of a Window. It will draw an oval in the window when the user presses the mouse button.

Dim o as New OvalShape
o.width=60
o.height=30
o.Fillcolor=RGB(127,127,255)
Graphics.DrawObject o,x,y

# See Also

ArcShape, CurveShape, FigureShape, FolderItem, Group2D, Graphics, Picture, PixmapShape, RectShape, RoundRectShape, StringShape classes.