IFontFallBackRule class

IFontFallBackRule class

Represents font fallback rule

The IFontFallBackRule type exposes the following members:

Properties

PropertyDescription
range_start_indexGet first index of continuous unicode range.
range_end_indexGet last index of continuous unicode range.
countGets the number of fonts actually defined for range.

Gets the font name at the specified index.

Indexer

NameDescription
[index]

Methods

MethodDescription
add_fall_back_fonts(self, font_name)Adds a new font(s) to the list of FallBack fonts.
add_fall_back_fonts(self, font_names)Adds a new fonts to the list of FallBack fonts.
to_array(self)Creates and returns an array with all FallBack fonts for this rule.
to_array(self, start_index, count)Creates and returns an array with all FallBack fonts from the specified range in list.
clear(self)Removes all fonts from the list.
remove(self, font_name)Removes the first occurrence of a specific FallBack font from the list.
remove_at(self, index)Removes the FallBack font at the specified index of the list.
index_of(self, font_name)Returns an index of the specified rule in the collection.

See Also