FMX.Graphics.TStrokeBrush.Dash

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Dash: TStrokeDash read FDash write SetDash default TStrokeDash.Solid;

C++

__property TStrokeDash Dash = {read=FDash, write=SetDash, default=0};

Properties

Type Visibility Source Unit Parent
property published
FMX.Graphics.pas
FMX.Graphics.hpp
FMX.Graphics TStrokeBrush

Description

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

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

The possible values of Dash are Solid, Dash, Dot, DashDot, DashDotDot, and Custom defined in the TStrokeDash type.

The default is Solid--a single solid line.

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


To define the Custom dash-dot style for the drawing pen, use the SetCustomDash method.

See Also

Code Example