Back to Devexpress

TdxGPPenStyle Enum

vcl-dxgdiplusclasses-fa202d2b.md

latest2.7 KB
Original Source

TdxGPPenStyle Enum

Enumerates available TdxGPPen styles.

Declaration

delphi
TdxGPPenStyle = (
    gppsSolid,
    gppsDash,
    gppsDot,
    gppsDashDot,
    gppsDashDotDot,
    gppsCustom
);

Members

Name
gppsSolid
gppsDash
gppsDot
gppsDashDot
gppsDashDotDot
gppsCustom

Remarks

Options include:

|

Value

|

Description

|

Example

| | --- | --- | --- | |

gppsSolid

|

The solid pen style corresponds to a simple solid line.

|

| |

gppsDash

|

The dash pen style corresponds to a simple dashed line. If the line’s Width property value exceeds 1 , the dash painting style can be changed by using the DashCapStyle property.

|

| |

gppsDot

|

The dot pen style corresponds to a simple dotted line. If the line’s Width property value exceeds 1 , the dot painting style can be changed by using the DashCapStyle property.

|

| |

gppsDashDot

|

The dash-dot pen style corresponds to an alternating dash and dot line. This mode combines the dashed and dotted line painting styles. If the line’s Width property value exceeds 1 , the dash and dot painting style can be changed by using the DashCapStyle property.

|

| |

gppsDashDotDot

|

The dash-dot-dot pen style corresponds to the line consisting of the repetitive elements comprising a dash followed by two dots. This mode combines the dashed and dotted line painting styles. If the line’s Width property value exceeds 1 , the dash and dot painting style can be changed by using the DashCapStyle property.

|

|

The TdxGPPen class’ Style property references the TdxGPPenStyle type.

See Also

dxGDIPlusClasses Unit