FMX.Types.TCornerType

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TCornerType = (Round, Bevel, InnerRound, InnerLine);

C++

enum class DECLSPEC_DENUM TCornerType : unsigned int { Round, Bevel, InnerRound, InnerLine, ctRound _DEPRECATED_ATTRIBUTE3("Use TCornerType.Round")  = 0, ctBevel _DEPRECATED_ATTRIBUTE3("Use TCornerType.Bevel")  = 1, ctInnerRound _DEPRECATED_ATTRIBUTE3("Use TCornerType.InnerRound")  = 2, ctInnerLine _DEPRECATED_ATTRIBUTE3("Use TCornerType.InnerLine")  = 3 };

Properties

Type Visibility Source Unit Parent
enum public
FMX.Types.pas
FMX.Types.hpp
FMX.Types FMX.Types

Description

Specifies the type of the corners of a rectangle.

TCornerType is used to customize the corner shapes.


TCornerType can have one of the following values:

Value Meaning

Round

The corner is round. An arc oriented to the exterior of the rectangle is displayed between the rectangle sides. The arc ends, on the rectangle sides, are defined by the specified horizontal XRadius and vertical YRadius distances from the rectangle corners.

Bevel

The corner is beveled. A diagonal is displayed between the rectangle sides.

InnerRound

The corner is round. An arc oriented to the interior of the rectangle is displayed between the rectangle sides.

InnerLine

Three connected lines are displayed between the rectangle sides. The corner is oriented to the interior of the rectangle.


DrawRectCanvas.png

To apply a customization to the corners of a rectangle, specify the horizontal XRadius and vertical YRadius distances to the initial corner points, on the rectangle sides, from the rectangle corners.

See Also