FMX.Objects.TRectangle.CornerType

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property CornerType: TCornerType read FCornerType write SetCornerType  default TCornerType.Round;

C++

__property Fmx::Types::TCornerType CornerType = {read=FCornerType, write=SetCornerType, default=0};

Properties

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

Description

Specifies the type of the corner shape's customization in the rectangle.

Values of CornerType are defined in TCornerType. These Round, Bevel, InnerRound, and InnerLine values define the following types of corner shape customizations:

DrawRectCanvas.png

CornerType applies to corners specified in the Corners set.

XRadius and YRadius specify the distance from a corner to the start point of the corner shape customization, on the horizontal and vertical sides.

Note: 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