PenTypefunction
Indicates the type of pattern, texture, or gradient that a pen draws.
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.
Parameters
| Name | Description | |
|---|---|---|
PenTypeUnknown | -1 | |
PenTypeSolidColor | 0 | |
PenTypeHatchFill | 1 | |
PenTypeTextureFill | 2 | |
PenTypePathGradient | 3 | |
PenTypeLinearGradient | 4 |
Description
The PenType enumeration indicates the type of pattern, texture, or gradient that a pen draws.
Remarks
A pen's type is determined when the pen is constructed. For example, if you pass a HatchBrush object to a Pen constructor, then the pen that is constructed has a pen type of PenTypeHatchFill. If you pass a Color object or a SolidBrush object to a Pen constructor, then the pen that is constructed has a pen type of PenTypeSolidColor.
Reference
- Documented in Graphics/GdiPlus Flat Api/GdiPlus Enumerations.md
- Topic: GdiPlus Enumerations