ホーム › Graphics.GdiPlus › DitherType
DitherType
列挙型メンバー 11
| 名前 | 10進 | 16進 |
|---|---|---|
| DitherTypeNone | 0 | 0x0 |
| DitherTypeSolid | 1 | 0x1 |
| DitherTypeOrdered4x4 | 2 | 0x2 |
| DitherTypeOrdered8x8 | 3 | 0x3 |
| DitherTypeOrdered16x16 | 4 | 0x4 |
| DitherTypeSpiral4x4 | 5 | 0x5 |
| DitherTypeSpiral8x8 | 6 | 0x6 |
| DitherTypeDualSpiral4x4 | 7 | 0x7 |
| DitherTypeDualSpiral8x8 | 8 | 0x8 |
| DitherTypeErrorDiffusion | 9 | 0x9 |
| DitherTypeMax | 10 | 0xA |
各言語での定義
列挙メンバーの定義。HSP タブは #define global(値は16進)。
typedef enum DitherType : int {
DitherTypeNone = 0,
DitherTypeSolid = 1,
DitherTypeOrdered4x4 = 2,
DitherTypeOrdered8x8 = 3,
DitherTypeOrdered16x16 = 4,
DitherTypeSpiral4x4 = 5,
DitherTypeSpiral8x8 = 6,
DitherTypeDualSpiral4x4 = 7,
DitherTypeDualSpiral8x8 = 8,
DitherTypeErrorDiffusion = 9,
DitherTypeMax = 10
} DitherType;public enum DitherType : int
{
DitherTypeNone = 0,
DitherTypeSolid = 1,
DitherTypeOrdered4x4 = 2,
DitherTypeOrdered8x8 = 3,
DitherTypeOrdered16x16 = 4,
DitherTypeSpiral4x4 = 5,
DitherTypeSpiral8x8 = 6,
DitherTypeDualSpiral4x4 = 7,
DitherTypeDualSpiral8x8 = 8,
DitherTypeErrorDiffusion = 9,
DitherTypeMax = 10,
}Public Enum DitherType As Integer
DitherTypeNone = 0
DitherTypeSolid = 1
DitherTypeOrdered4x4 = 2
DitherTypeOrdered8x8 = 3
DitherTypeOrdered16x16 = 4
DitherTypeSpiral4x4 = 5
DitherTypeSpiral8x8 = 6
DitherTypeDualSpiral4x4 = 7
DitherTypeDualSpiral8x8 = 8
DitherTypeErrorDiffusion = 9
DitherTypeMax = 10
End Enumimport enum
class DitherType(enum.IntEnum):
DitherTypeNone = 0
DitherTypeSolid = 1
DitherTypeOrdered4x4 = 2
DitherTypeOrdered8x8 = 3
DitherTypeOrdered16x16 = 4
DitherTypeSpiral4x4 = 5
DitherTypeSpiral8x8 = 6
DitherTypeDualSpiral4x4 = 7
DitherTypeDualSpiral8x8 = 8
DitherTypeErrorDiffusion = 9
DitherTypeMax = 10// DitherType
pub const DitherTypeNone: i32 = 0;
pub const DitherTypeSolid: i32 = 1;
pub const DitherTypeOrdered4x4: i32 = 2;
pub const DitherTypeOrdered8x8: i32 = 3;
pub const DitherTypeOrdered16x16: i32 = 4;
pub const DitherTypeSpiral4x4: i32 = 5;
pub const DitherTypeSpiral8x8: i32 = 6;
pub const DitherTypeDualSpiral4x4: i32 = 7;
pub const DitherTypeDualSpiral8x8: i32 = 8;
pub const DitherTypeErrorDiffusion: i32 = 9;
pub const DitherTypeMax: i32 = 10;// DitherType
const (
DitherTypeNone int32 = 0
DitherTypeSolid int32 = 1
DitherTypeOrdered4x4 int32 = 2
DitherTypeOrdered8x8 int32 = 3
DitherTypeOrdered16x16 int32 = 4
DitherTypeSpiral4x4 int32 = 5
DitherTypeSpiral8x8 int32 = 6
DitherTypeDualSpiral4x4 int32 = 7
DitherTypeDualSpiral8x8 int32 = 8
DitherTypeErrorDiffusion int32 = 9
DitherTypeMax int32 = 10
)const
DitherTypeNone = 0;
DitherTypeSolid = 1;
DitherTypeOrdered4x4 = 2;
DitherTypeOrdered8x8 = 3;
DitherTypeOrdered16x16 = 4;
DitherTypeSpiral4x4 = 5;
DitherTypeSpiral8x8 = 6;
DitherTypeDualSpiral4x4 = 7;
DitherTypeDualSpiral8x8 = 8;
DitherTypeErrorDiffusion = 9;
DitherTypeMax = 10;// DitherType
pub const DitherTypeNone: i32 = 0;
pub const DitherTypeSolid: i32 = 1;
pub const DitherTypeOrdered4x4: i32 = 2;
pub const DitherTypeOrdered8x8: i32 = 3;
pub const DitherTypeOrdered16x16: i32 = 4;
pub const DitherTypeSpiral4x4: i32 = 5;
pub const DitherTypeSpiral8x8: i32 = 6;
pub const DitherTypeDualSpiral4x4: i32 = 7;
pub const DitherTypeDualSpiral8x8: i32 = 8;
pub const DitherTypeErrorDiffusion: i32 = 9;
pub const DitherTypeMax: i32 = 10;const
DitherTypeNone* = 0
DitherTypeSolid* = 1
DitherTypeOrdered4x4* = 2
DitherTypeOrdered8x8* = 3
DitherTypeOrdered16x16* = 4
DitherTypeSpiral4x4* = 5
DitherTypeSpiral8x8* = 6
DitherTypeDualSpiral4x4* = 7
DitherTypeDualSpiral8x8* = 8
DitherTypeErrorDiffusion* = 9
DitherTypeMax* = 10enum DitherType : int {
DitherTypeNone = 0,
DitherTypeSolid = 1,
DitherTypeOrdered4x4 = 2,
DitherTypeOrdered8x8 = 3,
DitherTypeOrdered16x16 = 4,
DitherTypeSpiral4x4 = 5,
DitherTypeSpiral8x8 = 6,
DitherTypeDualSpiral4x4 = 7,
DitherTypeDualSpiral8x8 = 8,
DitherTypeErrorDiffusion = 9,
DitherTypeMax = 10,
}#define global DitherTypeNone 0x0
#define global DitherTypeSolid 0x1
#define global DitherTypeOrdered4x4 0x2
#define global DitherTypeOrdered8x8 0x3
#define global DitherTypeOrdered16x16 0x4
#define global DitherTypeSpiral4x4 0x5
#define global DitherTypeSpiral8x8 0x6
#define global DitherTypeDualSpiral4x4 0x7
#define global DitherTypeDualSpiral8x8 0x8
#define global DitherTypeErrorDiffusion 0x9
#define global DitherTypeMax 0xA