FMX.Objects.TRectangle.Corners

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Corners: TCorners read FCorners write SetCorners  stored IsCornersStored;

C++

__property Fmx::Types::TCorners Corners = {read=FCorners, write=SetCorners, stored=IsCornersStored, nodefault};

Properties

Type Visibility Source Unit Parent
property published
FMX.Objects.pas
FMX.Objects.hpp
FMX.Objects TRectangle

Description

Specifies which corners in a rectangle are affected by the CornerType, XRadius, and YRadius properties.

Corners is a set of constants defined in the FMX.Types.TCorner type. Possible constants are: crTopLeft, crTopRight, crBottomLeft, and crBottomRight.

Use the SetCorners function to define which corners to customize. Use the AllCorners constant to select all corners. By default, all four corners are selected.

If Corners is an empty set, then the CornerType, XRadius, and YRadius properties have no visual effect.

See Also

Personal tools
Translations