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

DashStyle

列挙型
基底型i4

メンバー 6

名前10進16進
DashStyleSolid00x0
DashStyleDash10x1
DashStyleDot20x2
DashStyleDashDot30x3
DashStyleDashDotDot40x4
DashStyleCustom50x5

各言語での定義

列挙メンバーの定義。HSP タブは #define global(値は16進)。

typedef enum DashStyle : int {
    DashStyleSolid = 0,
    DashStyleDash = 1,
    DashStyleDot = 2,
    DashStyleDashDot = 3,
    DashStyleDashDotDot = 4,
    DashStyleCustom = 5
} DashStyle;
public enum DashStyle : int
{
    DashStyleSolid = 0,
    DashStyleDash = 1,
    DashStyleDot = 2,
    DashStyleDashDot = 3,
    DashStyleDashDotDot = 4,
    DashStyleCustom = 5,
}
Public Enum DashStyle As Integer
    DashStyleSolid = 0
    DashStyleDash = 1
    DashStyleDot = 2
    DashStyleDashDot = 3
    DashStyleDashDotDot = 4
    DashStyleCustom = 5
End Enum
import enum

class DashStyle(enum.IntEnum):
    DashStyleSolid = 0
    DashStyleDash = 1
    DashStyleDot = 2
    DashStyleDashDot = 3
    DashStyleDashDotDot = 4
    DashStyleCustom = 5
// DashStyle
pub const DashStyleSolid: i32 = 0;
pub const DashStyleDash: i32 = 1;
pub const DashStyleDot: i32 = 2;
pub const DashStyleDashDot: i32 = 3;
pub const DashStyleDashDotDot: i32 = 4;
pub const DashStyleCustom: i32 = 5;
// DashStyle
const (
	DashStyleSolid int32 = 0
	DashStyleDash int32 = 1
	DashStyleDot int32 = 2
	DashStyleDashDot int32 = 3
	DashStyleDashDotDot int32 = 4
	DashStyleCustom int32 = 5
)
const
  DashStyleSolid = 0;
  DashStyleDash = 1;
  DashStyleDot = 2;
  DashStyleDashDot = 3;
  DashStyleDashDotDot = 4;
  DashStyleCustom = 5;
// DashStyle
pub const DashStyleSolid: i32 = 0;
pub const DashStyleDash: i32 = 1;
pub const DashStyleDot: i32 = 2;
pub const DashStyleDashDot: i32 = 3;
pub const DashStyleDashDotDot: i32 = 4;
pub const DashStyleCustom: i32 = 5;
const
  DashStyleSolid* = 0
  DashStyleDash* = 1
  DashStyleDot* = 2
  DashStyleDashDot* = 3
  DashStyleDashDotDot* = 4
  DashStyleCustom* = 5
enum DashStyle : int {
    DashStyleSolid = 0,
    DashStyleDash = 1,
    DashStyleDot = 2,
    DashStyleDashDot = 3,
    DashStyleDashDotDot = 4,
    DashStyleCustom = 5,
}
#define global DashStyleSolid      0x0
#define global DashStyleDash       0x1
#define global DashStyleDot        0x2
#define global DashStyleDashDot    0x3
#define global DashStyleDashDotDot 0x4
#define global DashStyleCustom     0x5