FMX.Types.TCornerType
Delphi
TCornerType = (Round, Bevel, InnerRound, InnerLine);
C++
enum class DECLSPEC_DENUM TCornerType : unsigned int { Round, Bevel, InnerRound, InnerLine, ctRound _DEPRECATED_ATTRIBUTE3("Use TCornerType.Round") = 0, ctBevel _DEPRECATED_ATTRIBUTE3("Use TCornerType.Bevel") = 1, ctInnerRound _DEPRECATED_ATTRIBUTE3("Use TCornerType.InnerRound") = 2, ctInnerLine _DEPRECATED_ATTRIBUTE3("Use TCornerType.InnerLine") = 3 };
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
enum | public | FMX.Types.pas FMX.Types.hpp |
FMX.Types | FMX.Types |
Description
Specifies the type of the corners of a rectangle.
TCornerType is used to customize the corner shapes.
TCornerType can have one of the following values:
Value | Meaning |
---|---|
|
The corner is round. An arc oriented to the exterior of the rectangle is displayed between the rectangle sides. The arc ends, on the rectangle sides, are defined by the specified horizontal |
|
The corner is beveled. A diagonal is displayed between the rectangle sides. |
|
The corner is round. An arc oriented to the interior of the rectangle is displayed between the rectangle sides. |
|
Three connected lines are displayed between the rectangle sides. The corner is oriented to the interior of the rectangle. |
To apply a customization to the corners of a rectangle, specify the horizontal XRadius
and vertical YRadius
distances to the initial corner points, on the rectangle sides, from the rectangle corners.