Share via


GlyphRun.ClusterMap 屬性

定義

重要

此 API 不符合 CLS 規範。

取得或設定 UInt16 值的清單,其會將 GlyphRun 中的字元對應至字符索引。

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)

屬性值

UInt16 值的清單,代表對應的字符索引。

屬性

備註

清單中每個字元都有一個專案。 清單中的每一個值都會提供第一個字元的位移,由 表示 GlyphIndices ,對應字元,以 表示 Characters

其中多個字元會對應到單一字元,或無法細分成無法完全對應到個別字元的字元群組,則所有字元的專案具有相同的值:代表此字元群組的第一個字元位移。

如果清單為 null 或等於 Empty ,則會假設循序 1 到 1 對應。

適用於