IndividualFontConfigs

IndividualFontConfigs class

Font configs for each Diagram object.

Constructors

NameDescription
IndividualFontConfigsCtor.

Methods

NameDescription
setFontFolderSets the fonts folder
setFontFoldersSets the fonts folders
setFontSourcesSets the fonts sources.
getFontSourcesGets a copy of the array that contains the list of sources

IndividualFontConfigs()

Ctor.

setFontFolder(fontFolder, recursive)

Sets the fonts folder

ParameterTypeDescription
fontFolderStringThe folder that contains TrueType fonts.
recursivebooleanDetermines whether or not to scan subfolders.

setFontFolders(fontFolders, recursive)

Sets the fonts folders

ParameterTypeDescription
fontFoldersString[]The folders that contains TrueType fonts.
recursivebooleanDetermines whether or not to scan subfolders.

setFontSources(sources)

Sets the fonts sources.

ParameterTypeDescription
sourcesFontSourceBase[]An array of sources that contain TrueType fonts.

getFontSources()

Gets a copy of the array that contains the list of sources