TCircle = class(TEllipse)
class PASCALIMPLEMENTATION TCircle : public TEllipse
TCircle defines 2D circles. It inherits TControl and can be used in styles to construct controls.
The following TCircle properties define the circle size and position:
- The bounding rectangle ShapeRect of TCircle defines the bounding square for the circle:
- The TCircle shape is inscribed into the obtained bounding square.
- You can use the Scale scaling factors of the TCircle object to proportionally scale circle coordinates along local coordinate axes. Scaling moves the circle and changes its size.
- You can use the rotation axis RotationCenter and rotation angle RotationAngle of the TCircle object to modify the circle shape and position.
TCircle draws the contour and fills the shape background with the Paint method.
Paint draws the contour and fills the background using the drawing pen and brush with the properties, color, and opacity defined by the Stroke, StrokeThickness, StrokeCap, StrokeDash, StrokeJoin, and Fill properties of the TCircle object.