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 shapes of which corners in the TRectangle rectangle object are customized according to the CornerType, XRadius, and YRadius properties.

By default, all four corners are customized.

Corners can contain a set of constants defined in the TCorner type: TopLeft, TopRight, BottomLeft, and BottomRight. Use the AllCorners constant to select all corners.

If Corners is an empty set or any of the XRadius and YRadius properties is zero, then no corner shape customization is used.

See Also