The DashStyle enumeration specifies the line style of a line drawn with a Microsoft Windows GDI+ pen. The line can be drawn by using one of several predefined styles or a custom style.
C++ Syntax
typedef enum {
DashStyleSolid = 0,
DashStyleDash = 1,
DashStyleDot = 2,
DashStyleDashDot = 3,
DashStyleDashDotDot = 4,
DashStyleCustom = 5
} DashStyle;
FreeBASIC 语法
enum
DashStyleSolid = 0
DashStyleDash = 1
DashStyleDot = 2
DashStyleDashDot = 3
DashStyleDashDotDot = 4
DashStyleCustom = 5
end enum
常数
DashStyleSolid
Specifies a solid line.
DashStyleDash
Specifies a dashed line.
DashStyleDot
Specifies a dotted line.
DashStyleDashDot
Specifies an alternating dash-dot line.
DashStyleDashDotDot
Specifies an alternating dash-dot-dot line.
DashStyleCustom
Specifies a user-defined, custom dashed line.