FMX.Graphics.TCanvas.StrokeCap

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property StrokeCap: TStrokeCap write SetStrokeCap;

C++

__property TStrokeCap StrokeCap = {write=SetStrokeCap, nodefault};

Properties

Type Visibility Source Unit Parent
property public
FMX.Graphics.pas
FMX.Graphics.hpp
FMX.Graphics TCanvas

Description

Specifies the graphic style used to draw the ends of a line.

The possible values are defined by TStrokeCap.

A customized line is composed of elements with different lengths. If StrokeDash is not Solid, StrokeCap affects the ends of each element of the customized line.

Notice that StrokeCap is the write-only property. To retrieve this value use the Cap property of FMX.Graphics.TCanvas.Stroke.

See Also

Code Example