Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxGPPenStyle Enum

Enumerates available visual styles that TdxGPPen lines can have.

#Declaration

Delphi
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