Show: Delphi C++
Display Preferences

FMX.Objects.TShape.StrokeDash

From XE2 API Documentation
Jump to: navigation, search

Delphi

property StrokeDash: TStrokeDash read FStrokeDash write SetStrokeDash default TStrokeDash.sdSolid;

C++

__property Fmx::Types::TStrokeDash StrokeDash = {read=FStrokeDash, write=SetStrokeDash, default=0};

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 sdSolid, sdDash, sdDot, sdDashDot, sdDashDotDot, or sdCustom constants defined in the FMX.Types.TStrokeDash type.

The default is sdSolid--a single solid line.

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

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

See Also

Personal tools
Previous Versions
Translations