共用方式為


GlyphRun.GlyphOffsets 屬性

定義

重要

此 API 不符合 CLS 規範。

取得或設定 Point 值的陣列,代表 GlyphRun 中字符的位移。

public:
 property System::Collections::Generic::IList<System::Windows::Point> ^ GlyphOffsets { System::Collections::Generic::IList<System::Windows::Point> ^ get(); void set(System::Collections::Generic::IList<System::Windows::Point> ^ value); };
[System.CLSCompliant(false)]
[System.ComponentModel.TypeConverter(typeof(System.Windows.Media.Converters.PointIListConverter))]
public System.Collections.Generic.IList<System.Windows.Point> GlyphOffsets { get; set; }
[<System.CLSCompliant(false)>]
[<System.ComponentModel.TypeConverter(typeof(System.Windows.Media.Converters.PointIListConverter))>]
member this.GlyphOffsets : System.Collections.Generic.IList<System.Windows.Point> with get, set
Public Property GlyphOffsets As IList(Of Point)

屬性值

IList<Point>

Point 值的清單,代表字符的位移。

屬性

備註

圖像位移值會新增至名字元原點,以產生圖像的最終原點。 屬性 AdvanceWidths 代表 之標稱字元原點 GlyphRun 的值。

基底圖像通常具有 (0、0) 的字元位移,結合圖像通常會有一個位移,可將它們正確地放在最接近的上層基底圖像之上。

適用於