Win32 API 日本語リファレンス
ホームGraphics.GdiPlus › PenType

PenType

列挙型
基底型i4

メンバー 6

名前10進16進
PenTypeSolidColor00x0
PenTypeHatchFill10x1
PenTypeTextureFill20x2
PenTypePathGradient30x3
PenTypeLinearGradient40x4
PenTypeUnknown-10xFFFFFFFF

各言語での定義

列挙メンバーの定義。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 Enum
import 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* = -1
enum 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