Skip to main content
All docs
V25.1
  • TdxStrokeStyle Enum

    Enumerates stroke styles for drawing lines in visual elements.

    Declaration

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

    Members

    Name Description Example
    Solid

    Default. A simple solid line.

    A Simple Solid Line

    Dash

    A simple dashed line.

    A Simple Dashed Line

    Dot

    A simple dotted line.

    A Simple Dotted Line

    DashDot

    A line that consists of alternating dots and dashes.

    A Line that Alternates Dots and Dashes

    DashDotDot

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

    A Simple Solid Line

    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