Skip to main content
A newer version of this page is available. .
All docs
V22.2

DXPen.PenType Property

Obtains the type of lines the DXPen draws.

Namespace: DevExpress.Drawing

Assembly: DevExpress.Drawing.v22.2.dll

NuGet Package: DevExpress.Drawing

Declaration

public DXPenType PenType { get; }

Property Value

Type Description
DXPenType

An enumeration value that indicates the pen type.

Available values:

Name Description
SolidColor

The pen uses a solid color to fill lines.

HatchFill

The pen uses a hatch fill to fill lines.

TextureFill

The pen uses a bitmap texture fill to fill lines.

PathGradient

The pen uses a path gradient fill to fill lines.

LinearGradient

The pen uses a linear gradient fill to fill lines.

See Also