fontgate.fgLayer = class fgLayer(object)
Layer representation
Constructors:
fgLayer() - default
fgLayer(fgLayer) - copy
fgLayer('name') - create named layer
Math operation:
fgLayer + fgLayer
fgLayer - fgLayer
- __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.
- addContour(...)
-
fgContour addContour(fgContour) - add contour to layer
- boundingBox(...)
-
fgRect/Nothing boundingBox(fgMatrix[, prepareExport = false])
- checkContours(...)
-
checkContours()
- countContours(...)
-
int countContours()
- countHints(...)
-
int countHints(bool horizontal)
- countNodes(...)
-
int countNodes()
- countPictures(...)
-
int countPictures()
- countShapes(...)
-
int countShapes()
- hasPictures(...)
-
bool hasPictures()
- hints2links(...)
-
hints2links(double tolerance[, fgCuspPoints])
- indexToName(...)
-
'nodeName' indexToName(int nodeIndex)
- isCompatible(...)
-
bool/Nothing isCompatible(flLayer)
- nameToIndex(...)
-
int nameToIndex('nodeName')
- prepareNodeNames(...)
-
prepareNodeNames()
- removeHints(...)
-
removeHints(bool horizontal)
- active
-
(bool)
- anchors
-
(fgAnchors)
- guides
-
(fgGuides)
- hints
-
(fgHints)
- hintsProgram
-
(fgHintCommands)
- locked
-
(bool)
- matrix
-
(fgMatrix)
- name
-
(string)
- opacity
-
(float)
- reference
-
(fgPoint)
- service
-
(bool)
- visible
-
(bool)
- wireframe
-
(bool)
- __new__ = <built-in method __new__ of type object>
-
T.__new__(S, ...) -> a new object with type S, a subtype of T
- fontgate.fgLayer.active
-
(bool)
- fontgate.fgLayer.addContour = addContour(...)
-
fgContour addContour(fgContour) - add contour to layer
- fontgate.fgLayer.anchors
-
(fgAnchors)
- fontgate.fgLayer.boundingBox = boundingBox(...)
-
fgRect/Nothing boundingBox(fgMatrix[, prepareExport = false])
- fontgate.fgLayer.checkContours = checkContours(...)
-
checkContours()
- fontgate.fgLayer.countContours = countContours(...)
-
int countContours()
- fontgate.fgLayer.countHints = countHints(...)
-
int countHints(bool horizontal)
- fontgate.fgLayer.countNodes = countNodes(...)
-
int countNodes()
- fontgate.fgLayer.countPictures = countPictures(...)
-
int countPictures()
- fontgate.fgLayer.countShapes = countShapes(...)
-
int countShapes()
- fontgate.fgLayer.findHint = findHint(...)
-
int findHint(fgHint)
- fontgate.fgLayer.findNode = findNode(...)
-
fgNode/Nothing findNode(nodeIndex / 'nodeName') - find name by index or name
- fontgate.fgLayer.guides
-
(fgGuides)
- fontgate.fgLayer.hasColors = hasColors(...)
-
bool hasColors()
- fontgate.fgLayer.hasHints = hasHints(...)
-
bool hasHints()
- fontgate.fgLayer.hasPictures = hasPictures(...)
-
bool hasPictures()
- fontgate.fgLayer.hints
-
(fgHints)
- fontgate.fgLayer.hints2links = hints2links(...)
-
hints2links(double tolerance[, fgCuspPoints])
- fontgate.fgLayer.hintsProgram
-
(fgHintCommands)
- fontgate.fgLayer.indexToName = indexToName(...)
-
'nodeName' indexToName(int nodeIndex)
- fontgate.fgLayer.isCompatible = isCompatible(...)
-
bool/Nothing isCompatible(flLayer)
- fontgate.fgLayer.locked
-
(bool)
- fontgate.fgLayer.matrix
-
(fgMatrix)
- fontgate.fgLayer.name
-
(string)
- fontgate.fgLayer.nameToIndex = nameToIndex(...)
-
int nameToIndex('nodeName')
- fontgate.fgLayer.opacity
-
(float)
- fontgate.fgLayer.prepareNodeNames = prepareNodeNames(...)
-
prepareNodeNames()
- fontgate.fgLayer.reference
-
(fgPoint)
- fontgate.fgLayer.removeHints = removeHints(...)
-
removeHints(bool horizontal)
- fontgate.fgLayer.service
-
(bool)
- fontgate.fgLayer.transform = transform(...)
-
transform(const Matrix& mx[, apply = true])
- fontgate.fgLayer.visible
-
(bool)
- fontgate.fgLayer.wireframe
-
(bool)