vcl-cxcustomcanvas-d291c55d.md
Enumerates stroke styles for drawing lines in visual elements.
TdxStrokeStyle = (
Solid,
Dash,
Dot,
DashDot,
DashDotDot,
Custom
);
| Name | Description | Example |
|---|---|---|
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.
| |
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