FontFallBackRule

FontFallBackRule class

表示字体备用规则

public class FontFallBackRule : IFontFallBackRule

Constructors

NameDescription
FontFallBackRule(uint, uint, string)创建新实例。
FontFallBackRule(uint, uint, string[])创建新实例。

Properties

NameDescription
Count { get; }获取实际定义的字体数量。只读 Int32。
Item { get; }获取指定索引处的字体名称。只读 IFontFallBackRule
RangeEndIndex { get; set; }获取连续unicode范围的最后一个索引。
RangeStartIndex { get; set; }获取连续unicode范围的第一个索引。

Methods

NameDescription
AddFallBackFonts(string)向备用字体列表添加新字体。
AddFallBackFonts(string[])向备用字体列表添加新字体。
Clear()从列表中移除所有字体。
IndexOf(string)返回集合中指定规则的索引。
Remove(string)从列表中移除特定备用字体的第一次出现。
RemoveAt(int)从列表中移除指定索引处的备用字体。
ToArray()创建并返回包含所有备用字体的数组。
ToArray(int, int)创建并返回指定范围内的所有备用字体的数组。

See Also