The PenType enumeration indicates the type of pattern, texture, or gradient that a pen draws.
C++ Syntax
typedef enum {
PenTypeSolidColor = BrushTypeSolidColor,
PenTypeHatchFill = BrushTypeHatchFill,
PenTypeTextureFill = BrushTypeTextureFill,
PenTypePathGradient = BrushTypePathGradient,
PenTypeLinearGradient = BrushTypeLinearGradient,
PenTypeUnknown = -1
} PenType;
FreeBASIC 语法
enum
PenTypeSolidColor = BrushTypeSolidColor
PenTypeHatchFill = BrushTypeHatchFill
PenTypeTextureFill = BrushTypeTextureFill
PenTypePathGradient = BrushTypePathGradient
PenTypeLinearGradient = BrushTypeLinearGradient
PenTypeUnknown = -1
end enum
常数
PenTypeSolidColor
Indicates that the pen draws with a solid color.
PenTypeHatchFill
Indicates that the pen draws with a hatch pattern
PenTypeTextureFill
Indicates that the pen draws with a texture.
PenTypePathGradient
Indicates that the pen draws with a color gradient.
PenTypeLinearGradient
Indicates that the pen draws with a color gradient.
PenTypeUnknown
Indicates that the pen type is unknown.