FMX.StdCtrls.TCustomCornerButton.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 public
FMX.StdCtrls.pas
FMX.StdCtrls.hpp
FMX.StdCtrls TCustomCornerButton

Description

Specifies the type of the corner customization in the TCustomCornerButton control.

Values of CornerType are defined in the TCornerType: Round, Bevel, InnerRound, and InnerLine. These 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 customization, on the horizontal and vertical sides.

Note: If Corners is an empty set, or any of the XRadius and YRadius properties is zero, modifying the CornerType property has no visual effect.

See Also