GlyphTypeface.TopSideBearings 屬性

定義

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

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

屬性值

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

備註

當黑色方塊的上邊緣位於由進階高度和字型儲存格高度所定義的對齊矩形內時,此值 TopSideBearings 為正值。 字型儲存格高度是垂直版面配置的水準維度。

當黑色方塊的上邊緣超出對齊矩形時,此值 TopSideBearings 為負值。

適用於

另請參閱