FMX.Objects.TRectangle.CornerType

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

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 the TCornerType, as constants: Round, Bevel, InnerRound, and InnerLine. These constants can 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