From RAD Studio API Documentation
Jump to: navigation, search



TCircle = class(TEllipse)


class PASCALIMPLEMENTATION TCircle : public TEllipse


Type Visibility Source Unit Parent
class public
FMX.Objects FMX.Objects


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 length of the bounding square sides equals to Min(Width, Height) of the ShapeRect bounding rectangle.
    • The bounding square center coincides with the center of the bounding rectangle.
  • 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 and Fill properties of the TCircle object.

See Also