Επεξεργασία

Κοινή χρήση μέσω


GlyphTypeface.LeftSideBearings Property

Definition

Gets the distance from the leading end of the advance vector to the left edge of the black box for the glyphs represented by the GlyphTypeface object.

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)

Property Value

An IDictionary<TKey,TValue> object that contains key/value pairs that represent distance information for the glyphs. The key is a UInt16 that identifies the glyph index. The value is a Double that represents the distance.

Remarks

The LeftSideBearings value is positive when the left edge of the black box is within the alignment rectangle defined by the advance width and font cell height.

The LeftSideBearings value is negative when the left edge of the black box overhangs the alignment rectangle.

Applies to

See also