勇芳软件工作室.汉化:  GDI+ Reference > Enumerations >

DashStyle

Previous pageReturn to chapter overviewNext page

DashStyle枚举指定使用Microsoft Windows GDI +笔绘制的线的线条样式。可以通过使用几种预定义样式之一或自定义样式绘制线条。

 

C++ 语法

 

typedef enum {

DashStyleSolid = 0,

DashStyleDash = 1,

DashStyleDot = 2,

DashStyleDashDot = 3,

DashStyleDashDotDot = 4,

DashStyleCustom = 5

} DashStyle;

 

PowerBASIC 语法

 

%DashStyleSolid      = 0

%DashStyleDash       = 1

%DashStyleDot        = 2

%DashStyleDashDot    = 3

%DashStyleDashDotDot = 4

%DashStyleCustom     = 5

 

常量

 

DashStyleSolid

 

指定实线。

 

DashStyleDash

 

指定虚线。

 

DashStyleDot

 

指定虚线。

 

DashStyleDashDot

 

指定交替点划线。

 

DashStyleDashDotDot

 

指定交替点划线。

 

DashStyleCustom

 

指定用户定义的自定义虚线。