PenType枚举指示笔绘制的图案,纹理或渐变的类型。
C++ 语法
typedef enum {
PenTypeSolidColor = BrushTypeSolidColor,
PenTypeHatchFill = BrushTypeHatchFill,
PenTypeTextureFill = BrushTypeTextureFill,
PenTypePathGradient = BrushTypePathGradient,
PenTypeLinearGradient = BrushTypeLinearGradient,
PenTypeUnknown = -1
} PenType;
PowerBASIC 语法
%PenTypeSolidColor = %BrushTypeSolidColor
%PenTypeHatchFill = %BrushTypeHatchFill
%PenTypeTextureFill = %BrushTypeTextureFill
%PenTypePathGradient = %BrushTypePathGradient
%PenTypeLinearGradient = %BrushTypeLinearGradient
%PenTypeUnknown = -1
常量
PenTypeSolidColor
表示笔用纯色绘制。
PenTypeHatchFill
表示笔用阴影线绘制
PenTypeTextureFill
表示钢笔用纹理绘制。
PenTypePathGradient
表示笔用颜色渐变绘制。
PenTypeLinearGradient
表示笔用颜色渐变绘制。
PenTypeUnknown
表示笔类型未知。