FMX.Objects.TCircle

From RAD Studio API Documentation
Jump to: navigation, search

FMX.Objects.TEllipseFMX.Objects.TShapeFMX.Controls.TControlFMX.Types.TFmxObjectSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTCircle

Delphi

TCircle = class(TEllipse)

C++

class PASCALIMPLEMENTATION TCircle : public TEllipse

Properties

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

Description

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