Python Script Engine
1.0
GL Studio Editor Python Script API
|
Classes | |
class | DocumentArray |
Functions | |
Module Methods | |
Methods that can be called on the module. | |
String | ResolvePath (String path) |
void | AddFontPath (String directory, bool includeSubfolders=false) |
void | RemoveFontPath (String directory, bool includeSubfolders=false) |
The Editor Python Script Engine global features.
void AddFontPath | ( | String | directory, |
bool | includeSubfolders = false |
||
) |
Adds a path where font files may be found.
Generally used by projects to add project specific fonts.
directory | name of a directory containing font files. |
includeSubfolders | set to true to search all subfolders, false to search only the given folder |
void RemoveFontPath | ( | String | directory, |
bool | includeSubfolders = false |
||
) |
Removes a path where font files may be found and prevent further searches in there.
directory | name of a directory to remove from the search list. |
includeSubfolders | set to remove all subfolders that were added during AddFontPath |
String ResolvePath | ( | String | path | ) |
Resolves a path pointing at a referenced package to the path's actual location.
path | the path to be resolved |