DashType
可用的线条虚线类型。
类型
枚举
值
- "dash"
- "dashDot"
- "dot"
- "lgDash"
- "lgDashDot"
- "lgDashDotDot"
- "solid"
- "sysDash"
- "sysDashDot"
- "sysDashDotDot"
- "sysDot"
示例
此示例创建具有颜色和宽度设置的虚线描边。
// How to create a custom stroke line with dash pattern.
// Create a red dash-dot stroke with 4pt width.
Api.CreateStroke(4 * 36000, Api.CreateSolidFill(Api.CreateRGBColor(192, 0, 0)), "dashDot");