DashStyle 列挙 (gdiplusenums.h)

DashStyle 列挙は、Windows GDI+ ペンで描画される線の線のスタイルを指定します。 線は、いくつかの定義済みのスタイルまたはカスタム スタイルのいずれかを使用して描画できます。

構文

typedef enum DashStyle {
  DashStyleSolid,
  DashStyleDash,
  DashStyleDot,
  DashStyleDashDot,
  DashStyleDashDotDot,
  DashStyleCustom
} ;

定数

 
DashStyleSolid
実線を指定します。
DashStyleDash
破線を指定します。
DashStyleDot
点線を指定します。
DashStyleDashDot
交互の破線を指定します。
DashStyleDashDotDot
交互の点線を指定します。
DashStyleCustom
ユーザー定義のカスタム破線を指定します。

解説

カスタム破線は、 Pen::SetDashPattern メソッドを呼び出すことによって作成されます。このメソッドは、ダッシュの長さとスペースの長さの値の配列を受け取ります。

要件

   
サポートされている最小のクライアント Windows XP、Windows 2000 Professional [デスクトップ アプリのみ]
サポートされている最小のサーバー Windows 2000 Server [デスクトップ アプリのみ]
Header gdiplusenums.h (Gdiplus.h を含む)