FMX.Graphics.TStrokeDash

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TStrokeDash = (Solid, Dash, Dot, DashDot, DashDotDot, Custom);

C++

enum class DECLSPEC_DENUM TStrokeDash : unsigned int { Solid, Dash, Dot, DashDot, DashDotDot, Custom };

Properties

Type Visibility Source Unit Parent
enum public
FMX.Graphics.pas
FMX.Graphics.hpp
FMX.Graphics FMX.Graphics

Description

Specifies the dash-dot style to draw lines and shape contours.

TStrokeDash can have the following values:

Value Meaning

Solid

The line is solid. SdSolid.png

Dash

The line is dashed. SdDash.png

Dot

The line is dotted. SdDot.png

DashDot

The line is composed of alternating dash-dot groups. SdDashDot.png

DashDotDot

The line is composed of alternating dash-dot-dot groups.SdDashDotDot.png

Custom

A custom dashed line is composed of alternating elements with different lengths and spaces between elements. A Custom dash line is composed of elements with a certain rule specified by an array of values for the lengths and spaces between elements. To set the Custom dash-dot style, use the SetCustomDash method.

See Also

Code Example