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> オブジェクト。 キーは、グリフのインデックスを識別する UInt16 です。 値は、距離を表す Double です。

注釈

黒いボックスの上端が、前の高さとフォント セルの高さによって定義された配置四角形内にある場合、値は TopSideBearings 正の値になります。 フォント セルの高さは、垂直レイアウトの水平方向の寸法です。

黒いボックスの上端が配置四角形に張り付くと、値は TopSideBearings 負になります。

適用対象

こちらもご覧ください