PenAlignment 列舉 (gdiplusenums.h)
PenAlignment 列舉會指定相對於所繪製筆劃的畫筆對齊方式。
Syntax
typedef enum PenAlignment {
PenAlignmentCenter = 0,
PenAlignmentInset = 1
} ;
常數
PenAlignmentCenter 值: 0 指定畫筆對齊所繪製線條的中心。 |
PenAlignmentInset 值: 1 指定繪製多邊形時,畫筆會對齊多邊形邊緣內的 。 |
備註
如果您將 Pen 物件的對齊方式設定為 PenAlignmentInset,就無法使用該手寫筆繪製複合線條或三角形虛線上限。
規格需求
需求 | 值 |
---|---|
最低支援的用戶端 | Windows XP、Windows 2000 Professional [僅限傳統型應用程式] |
最低支援的伺服器 | Windows 2000 Server [僅限傳統型應用程式] |
標頭 | gdiplusenums.h (包含 Gdiplus.h) |