Back to Devexpress

TdxStrokeStyle Enum

vcl-cxcustomcanvas-d291c55d.md

latest1.7 KB
Original Source

TdxStrokeStyle Enum

Enumerates stroke styles for drawing lines in visual elements.

Declaration

delphi
TdxStrokeStyle = (
    Solid,
    Dash,
    Dot,
    DashDot,
    DashDotDot,
    Custom
);

Members

NameDescriptionExample
Solid

Default. A simple solid line.

|

| | Dash |

A simple dashed line.

|

| | Dot |

A simple dotted line.

|

| | DashDot |

A line that consists of alternating dots and dashes.

|

| | DashDotDot |

A line that consists of repetitive dashes followed by two dots.

|

| | Custom |

A custom stroke style.

| |

Remarks

The TdxStrokeOptions.Style property references the TdxStrokeStyle type.

Note

TdxStrokeStyle is a scoped enumeration type. Use the type name together with a scope resolution token (. in Delphi or :: in C++Builder) followed by an enumeration value to refer to this value. For example, use TdxStrokeStyle.DashDotDot (in Delphi) or TdxStrokeStyle::DashDotDot (in C++Builder) to refer to the DashDotDot value in code.

See Also

cxCustomCanvas Unit