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