Uredi

Deli z drugimi prek


GlyphRun.ClusterMap Property

Definition

Important

This API is not CLS-compliant.

Gets or sets the list of UInt16 values that maps characters in the GlyphRun to glyph indices.

public:
 property System::Collections::Generic::IList<System::UInt16> ^ ClusterMap { System::Collections::Generic::IList<System::UInt16> ^ get(); void set(System::Collections::Generic::IList<System::UInt16> ^ value); };
[System.CLSCompliant(false)]
[System.ComponentModel.TypeConverter(typeof(System.Windows.Media.Converters.UShortIListConverter))]
public System.Collections.Generic.IList<ushort> ClusterMap { get; set; }
[<System.CLSCompliant(false)>]
[<System.ComponentModel.TypeConverter(typeof(System.Windows.Media.Converters.UShortIListConverter))>]
member this.ClusterMap : System.Collections.Generic.IList<uint16> with get, set
Public Property ClusterMap As IList(Of UShort)

Property Value

A list of UInt16 values that represent mapped glyph indices.

Attributes

Remarks

There is one entry per character in the list. Each value in the list gives the offset of the first glyph, represented by GlyphIndices, to the corresponding character, represented by Characters.

Where multiple characters map to a single glyph, or to a glyph group that cannot be broken down to map exactly to individual characters, the entries for all the characters have the same value: the offset of the first glyph that represents this group of characters.

If the list is null or equal to Empty, sequential 1 to 1 mapping is assumed.

Applies to