Creates an empty FontCollection instance.
Creates an empty FontCollection instance.
An object manager that controls the lifetime of the FontCollection object.
Gets the number of fonts in the FontCollection.
Gets the reference to the object.
Gets the owner ObjectManager instance.
StaticgetGets the default FontCollection instance.
The default FontCollection instance.
Gets the default FontCollection instance.
An object manager that controls the lifetime of the FontCollection object.
The default FontCollection instance.
Adds the specified font as fallback to the FontCollection.
Adds the specified font to the FontCollection.
OptionalfallbackFont: boolean = falsetrue if the font should also be added to the list of fallback fonts, false otherwise.
OptionaldefaultFont: boolean = falsetrue if the font should be set as default font, false otherwise.
Removes all fonts from the FontCollection.
Clears the list of fallback fonts in the FontCollection.
Creates a copy of the FontCollection.
Determines whether the font is in the FontCollection.
The Font to be searched.
Detaches the object from the ObjectManager and deallocates its memory, if possible.
Gets the index of the font in the FontCollection, or -1 if the font is not found.
Loads a font or font collection from the byte array.
The binary data of the font.
OptionalfallbackFont: boolean = falsetrue if the font should be added to the list of fallback fonts, false otherwise.
OptionaldefaultFont: boolean = falsetrue if the font should be set as default font, false otherwise.
Rebinds the object from the current ObjectManager to the specified one.
The new ObjectManager for the object.
Removes the specified font from the FontCollection.
true if the font was actually removed, false otherwise.
Removes a font at the specified index.
Removes the specified font from fallbacks of the FontCollection.
Searches for a font with specified options in the FontCollection.
The Font found, or null if not found.
Represents a collection of fonts.