CustomLineCap.WidthScale 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定該類別物件相對於物件寬CustomLineCap度的縮放Pen幅度。
public:
property float WidthScale { float get(); void set(float value); };
public float WidthScale { get; set; }
member this.WidthScale : single with get, set
Public Property WidthScale As Single
屬性值
這是用來調整上限的金額。
備註
此特性指定筆寬的倍數,以乘以自訂筆帽的尺寸。 例如,若此屬性等於 1,則自訂帽寬度為 10,自訂帽高度為 5,並用寬度 3 的筆畫出一條線,則筆寬 30 單位、高 15 單位。 將此屬性設為 3 時,上限會畫出寬 90 單位、高 45 單位。