แก้ไข

แชร์ผ่าน


GlyphRun.AdvanceWidths Property

Definition

Important

This API is not CLS-compliant.

Gets or sets the list of Double values that represent the advance widths corresponding to the glyph indices.

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

Property Value

A list of Double values that represent the advance widths.

Attributes

Remarks

Each item in the list of advance widths corresponds to the glyph values returned by the GlyphIndices property. The nominal origin of the nth glyph in the run (n>0) is the nominal origin of the n-1th glyph plus the n-1th advance width added along the runs advance vector. Base glyphs generally have a non-zero advance width, whereas combining glyphs generally have a zero advance width.

Applies to