FMX.Graphics.TStrokeDash

From RAD Studio API Documentation

Delphi

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

C++

enum class DECLSPEC_DENUM TStrokeDash : unsigned int { Solid, Dash, Dot, DashDot, DashDotDot, Custom, sdSolid _DEPRECATED_ATTRIBUTE3("Use TStrokeDash.Solid")  = 0, sdDash _DEPRECATED_ATTRIBUTE3("Use TStrokeDash.Dash")  = 1, sdDot _DEPRECATED_ATTRIBUTE3("Use TStrokeDash.Dot")  = 2, sdDashDot _DEPRECATED_ATTRIBUTE3("Use TStrokeDash.DashDot")  = 3, sdDashDotDot _DEPRECATED_ATTRIBUTE3("Use TStrokeDash.DashDotDot")  = 4, sdCustom _DEPRECATED_ATTRIBUTE3("Use TStrokeDash.Custom")  = 5 };

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.

Dash

The line is dashed.

Dot

The line is dotted.

DashDot

The line is composed of alternating dash-dot groups.

DashDotDot

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

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