GpPenType enumeration

Names the kind of fill that a pen draws with.

The members repeat the values of GpBrushType, because a pen draws with a brush.

Member Value Description
PenTypeSolidColor 0 A solid colour.
PenTypeHatchFill 1 A hatch pattern.
PenTypeTextureFill 2 A texture made of tiles of an image.
PenTypePathGradient 3 A path gradient.
PenTypeLinearGradient 4 A linear gradient.
PenTypeUnknown -1 The type is not known.

Used by

See Also

  • PenType – Microsoft’s documentation of the GDI+ enumeration
  • Enumerations – all the enumerations of the package
  • Pen class