FMX.Objects.TShape.StrokeDash

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

property StrokeDash: TStrokeDash write SetStrokeDash;

C++

__property Fmx::Graphics::TStrokeDash StrokeDash = {write=SetStrokeDash, nodefault};

Properties

Type Visibility Source Unit Parent
property public
FMX.Objects.pas
FMX.Objects.hpp
FMX.Objects TShape

Description

Specifies the dash-dot style of lines or of shape contours.

A shape contour or a line can contain several segments (dash-dot groups) with different lengths and spaces between segments.

The possible values are the Solid, Dash, Dot, DashDot, DashDotDot, or Custom constants defined in the FMX.Graphics.TStrokeDash type.

The default is Solid--a single solid line.

To create a new custom style, use FMX.Graphics.TCanvas.SetCustomDash.

Notice that if StrokeDash is not Solid, StrokeCap affects the ends of each line segment of the contour.

See Also

Code Example