語言

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 映射。

適用於