Skip to main content

TdxGPPenStyle Enum

Enumerates available visual styles that TdxGPPen lines can have.

Declaration

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

Members

Name
gppsSolid
gppsDash
gppsDot
gppsDashDot
gppsDashDotDot

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