FontSourceBase class

FontSourceBase class

This is an abstract base class for the classes that allow the user to specify various font sources. To learn more, visit the Working with Fonts documentation article.

Properties

NameDescription
priorityReturns the font source priority.
typeReturns the type of the font source.

Methods

NameDescription
asFileFontSource()Cast FontSourceBase object to FileFontSource.
asFolderFontSource()Cast FontSourceBase object to FolderFontSource.
asMemoryFontSource()Cast FontSourceBase object to MemoryFontSource.
asStreamFontSource()Cast FontSourceBase object to StreamFontSource.
asSystemFontSource()Cast FontSourceBase object to SystemFontSource.

See Also