fgPackages
fontgate.fgPackages = class fgPackages(object)
Font packages representation Constructors: fgPackages() - default fgPackages(fgPackages) - copy fgPackages('pathToFontFileOrFolder')
Methods
- __delattr__(...)
-
x.__delattr__('name') <==> del x.name
- __delitem__(...)
-
x.__delitem__(y) <==> del x[y]
- __delslice__(...)
-
x.__delslice__(i, j) <==> del x[i:j] Use of negative indices is not supported.
- __getattribute__(...)
-
x.__getattribute__('name') <==> x.name
- __getitem__(...)
-
x.__getitem__(y) <==> x[y]
- __getslice__(...)
-
x.__getslice__(i, j) <==> x[i:j] Use of negative indices is not supported.
- __setattr__(...)
-
x.__setattr__('name', value) <==> x.name = value
- __setitem__(...)
-
x.__setitem__(i, y) <==> x[i]=y
- __setslice__(...)
-
x.__setslice__(i, j, y) <==> x[i:j]=y Use of negative indices is not supported.
- open(...)
-
open(path) - open existing font(s) from 'path' location and return first index of created font(s)
Attributes
- __new__ = <built-in method __new__ of type object>
-
T.__new__(S, ...) -> a new object with type S, a subtype of T
add
- fontgate.fgPackages.add = add(...)
-
add(fgFont or fgPackages object) - add font(s)
close
- fontgate.fgPackages.close = close(...)
-
close() - remove all font(s) from list
copyFrom
- fontgate.fgPackages.copyFrom = copyFrom(...)
-
copyFrom(fgPackages) - copy all fonts from another fgPackages object
create
- fontgate.fgPackages.create = create(...)
-
create() - add empty font to list and return it's index
indexOf
- fontgate.fgPackages.indexOf = indexOf(...)
-
indexOf(fgFont) - return font index or (-1) if missing in list
open
- fontgate.fgPackages.open = open(...)
-
open(path) - open existing font(s) from 'path' location and return first index of created font(s)
remove
- fontgate.fgPackages.remove = remove(...)
-
remove(int index) - remove font by index