ホーム › Graphics.GdiPlus › BrushType
BrushType
列挙型メンバー 5
| 名前 | 10進 | 16進 |
|---|---|---|
| BrushTypeSolidColor | 0 | 0x0 |
| BrushTypeHatchFill | 1 | 0x1 |
| BrushTypeTextureFill | 2 | 0x2 |
| BrushTypePathGradient | 3 | 0x3 |
| BrushTypeLinearGradient | 4 | 0x4 |
各言語での定義
列挙メンバーの定義。HSP タブは #define global(値は16進)。
typedef enum BrushType : int {
BrushTypeSolidColor = 0,
BrushTypeHatchFill = 1,
BrushTypeTextureFill = 2,
BrushTypePathGradient = 3,
BrushTypeLinearGradient = 4
} BrushType;public enum BrushType : int
{
BrushTypeSolidColor = 0,
BrushTypeHatchFill = 1,
BrushTypeTextureFill = 2,
BrushTypePathGradient = 3,
BrushTypeLinearGradient = 4,
}Public Enum BrushType As Integer
BrushTypeSolidColor = 0
BrushTypeHatchFill = 1
BrushTypeTextureFill = 2
BrushTypePathGradient = 3
BrushTypeLinearGradient = 4
End Enumimport enum
class BrushType(enum.IntEnum):
BrushTypeSolidColor = 0
BrushTypeHatchFill = 1
BrushTypeTextureFill = 2
BrushTypePathGradient = 3
BrushTypeLinearGradient = 4// BrushType
pub const BrushTypeSolidColor: i32 = 0;
pub const BrushTypeHatchFill: i32 = 1;
pub const BrushTypeTextureFill: i32 = 2;
pub const BrushTypePathGradient: i32 = 3;
pub const BrushTypeLinearGradient: i32 = 4;// BrushType
const (
BrushTypeSolidColor int32 = 0
BrushTypeHatchFill int32 = 1
BrushTypeTextureFill int32 = 2
BrushTypePathGradient int32 = 3
BrushTypeLinearGradient int32 = 4
)const
BrushTypeSolidColor = 0;
BrushTypeHatchFill = 1;
BrushTypeTextureFill = 2;
BrushTypePathGradient = 3;
BrushTypeLinearGradient = 4;// BrushType
pub const BrushTypeSolidColor: i32 = 0;
pub const BrushTypeHatchFill: i32 = 1;
pub const BrushTypeTextureFill: i32 = 2;
pub const BrushTypePathGradient: i32 = 3;
pub const BrushTypeLinearGradient: i32 = 4;const
BrushTypeSolidColor* = 0
BrushTypeHatchFill* = 1
BrushTypeTextureFill* = 2
BrushTypePathGradient* = 3
BrushTypeLinearGradient* = 4enum BrushType : int {
BrushTypeSolidColor = 0,
BrushTypeHatchFill = 1,
BrushTypeTextureFill = 2,
BrushTypePathGradient = 3,
BrushTypeLinearGradient = 4,
}#define global BrushTypeSolidColor 0x0
#define global BrushTypeHatchFill 0x1
#define global BrushTypeTextureFill 0x2
#define global BrushTypePathGradient 0x3
#define global BrushTypeLinearGradient 0x4