语言

Pen.DashOffset 属性

定义

获取或设置从线条开始到短划线图案的开头的距离。

public:
 property float DashOffset { float get(); void set(float value); };
public float DashOffset { get; set; }
member this.DashOffset : single with get, set
Public Property DashOffset As Single

属性值

从线条开始到短划线图案的开头的距离。

例外

该 DashOffset 属性在不可变 Pen上设置,例如类返回的属性 Pens 。

适用于