Skip to main content
All docs
V23.2

DXPen.PenType Property

Obtains the type of lines the DXPen draws.

Namespace: DevExpress.Drawing

Assembly: DevExpress.Drawing.v23.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