API:FMX.Objects.TRectangle.StrokeDash
Delphi
property StrokeDash: TStrokeDash write SetStrokeDash stored False;
C++
__property StrokeDash = {stored=false};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | FMX.Objects.pas FMX.Objects.hpp |
FMX.Objects | TRectangle |
Description
Specifies the dash-dot style of lines or of shape contours.
FMX.Objects.TRectangle.StrokeDash inherits from FMX.Objects.TShape.StrokeDash. All content below this line refers to FMX.Objects.TShape.StrokeDash.
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
- FMX.Objects.TShape.Stroke
- FMX.Objects.TShape.StrokeCap
- FMX.Objects.TShape.StrokeJoin
- FMX.Objects.TShape.StrokeThickness
- FMX.Graphics.TCanvas.StrokeDash