TEllipse = class(TShape)
class PASCALIMPLEMENTATION TEllipse : public TShape
TEllipse defines 2D ellipses. It inherits TControl and can be used in styles to construct controls.
The following TEllipse properties define the ellipse shape and position:
- Initially the ellipse is inscribed into the bounding rectangle ShapeRect of the TEllipse object.
- Then the rotation axis RotationCenter is moved along the local coordinate axes proportionally to the Scale factors.
- Then this ellipse is rotated around the obtained pivot on the RotationAngle angle.
- Note: Scaling not only scales the shape of an object proportionally to the scaling factors. It also changes the thickness of the stroke that draws the contour proportionally to the scaling factor for each axis.
TEllipse draws the contour and fills the background with the Paint method.