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