fontgate.fgFontGateData · declarations 001
Back to fontgate.fgFontGateData
activeLayer
activeLayer() -> fgLayer
fgLayer activeLayer() - get active layer or Nothing if no layers exists
addContour
fgContour addContour(fgContour) - add contour into 'Body' layer
bodyLayer
bodyLayer() -> fgLayer
fgLayer bodyLayer() - get layer named 'Body', any existing non-service layer if not found or Nothing if no layers exists
bodyLayerStrict
bodyLayerStrict() -> fgLayer
fgLayer bodyLayerStrict() - get layer named 'Body'. if it's not present, create it on the fly
checkContours
checkContours() -> Any
checkContours() - ckeck for multi-segment contours and split it into one segment's contours
countNodesContours
countNodesContours(*args: Any, **kwargs: Any) -> Any
(nodesCount, contoursCount) countNodesContours() - calculate stats for 'Body' layer if it present, return (0,0) otherwise
countShapes
countShapes() -> int
int countShapes() - return shapes count
findLayer
findLayer(*args: Any, **kwargs: Any) -> Any
fgLayer findLayer('name') - get layer by name, return Nothing if no layer found
getType
getType() -> Any
string getType() - return 'dtFontGate'
layers
instance-attribute
layers: Any
(fgLayers) layers list
modified
modified() -> bool
bool modified() - return true if data was changed
resetBbox
resetBbox() -> Any
resetBbox() - reset bbox cache