FontFallBackRule

FontFallBackRule class

Represents font fallback rule

public class FontFallBackRule : IFontFallBackRule

Constructors

Name Description
FontFallBackRule(uint, uint, string) Creates new instance.
FontFallBackRule(uint, uint, string[]) Creates new instance.

Properties

Name Description
Count { get; } Gets the number of fonts actually defined for range. Read-only Int32.
Item { get; } Gets the font name at the specified index. Read-only IFontFallBackRule.
RangeEndIndex { get; set; } Get last index of continuous unicode range.
RangeStartIndex { get; set; } Get first index of continuous unicode range.

Methods

Name Description
AddFallBackFonts(string) Adds a new font(s) to the list of FallBack fonts.
AddFallBackFonts(string[]) Adds a new fonts to the list of FallBack fonts.
Clear() Removes all fonts from the list.
IndexOf(string) Returns an index of the specified rule in the collection.
Remove(string) Removes the first occurrence of a specific FallBack font from the list.
RemoveAt(int) Removes the FallBack font at the specified index of the list.
ToArray() Creates and returns an array with all FallBack fonts for this rule.
ToArray(int, int) Creates and returns an array with all FallBack fonts from the specified range in list.

See Also