OvalShape

From Xojo Documentation

Class (inherits from RectShape)

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

Properties
BorderColor FillOpacity Segments
BorderOpacity Height Width
BorderWidth Rotation X
FillColor Scale Y

Example

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

Var o As New OvalShape
o.Width = 60
o.Height = 120

o.FillColor = RGB(127, 127, 255)
g.DrawObject(o, o.Width, o.Height)

See Also

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