GlyphTypeface.LeftSideBearings 屬性

定義

取得前進向量前置端到圖像 (以 GlyphTypeface 物件表示) 之黑色方塊左邊緣的距離。

public:
 property System::Collections::Generic::IDictionary<System::UInt16, double> ^ LeftSideBearings { System::Collections::Generic::IDictionary<System::UInt16, double> ^ get(); };
public System.Collections.Generic.IDictionary<ushort,double> LeftSideBearings { get; }
member this.LeftSideBearings : System.Collections.Generic.IDictionary<uint16, double>
Public ReadOnly Property LeftSideBearings As IDictionary(Of UShort, Double)

屬性值

IDictionary<UInt16,Double>

IDictionary<TKey,TValue> 物件,包含表示圖像距離資訊的索引鍵值組。 索引鍵是可識別圖像 (Glyph) 索引的 UInt16。 這個值是表示距離的 Double

備註

當黑色方塊的左邊緣位於進階寬度和字型儲存格高度所定義的對齊矩形內時,此值 LeftSideBearings 為正值。

當黑色方塊的左邊緣超過對齊矩形時,此值 LeftSideBearings 為負值。

適用於

另請參閱