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 類別傳回的項目。

適用於