fontgate.fgFontGateData
fgFontGateData
FontGateData representation
Constructors: fgFontGateData() - default fgFontGateData(fgFontGateData) - copy
Native bases: object
Captured native MRO: fgFontGateData, object
Native new allocation evidence (not an init overload): (args, *kwargs) Create and return a new object. See help(type) for accurate signature.
Complete member index
Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.
| Member | Kind | Signature | Summary |
|---|---|---|---|
OK |
function | (self) -> bool |
Bool OK() - return true if status is gdsOK (shared captured text) |
__init__ |
function | (self, /, *args: Any, **kwargs: Any) -> None |
Initialize self. (shared captured text) |
activeLayer |
function | (self) -> fgLayer |
FgLayer activeLayer() - get active layer or Nothing if no layers exists |
addContour |
function | (self, arg0: fgContour) -> fgContour |
FgContour addContour(fgContour) - add contour into 'Body' layer |
addShape |
function | (self, arg0: fgShape) -> fgShape |
FgShape addShape(fgShape) - add shape into 'Body' layer |
bad |
function | (self) -> bool |
Bool bad() - return true if status isn't gdsOK (shared captured text) |
bodyLayer |
function | (self) -> fgLayer |
FgLayer bodyLayer() - get layer named 'Body', any existing non-service layer if not found or Nothing if no layers exists |
bodyLayerStrict |
function | (self) -> fgLayer |
FgLayer bodyLayerStrict() - get layer named 'Body'. if it's not present, create it on the fly |
boundingBox |
function | (self, arg0: fgGlyphsR, arg1: fgMatrix, prepareExport: bool) -> fgRect |
FgRect boundingBox(fgGlyphsR, fgMatrix, bool prepareExport) - calculate bounding box (shared captured text) |
checkContours |
function | (self) -> Any |
Ckeck for multi-segment contours and split it into one segment's contours |
copy |
function | (self) -> fgFontGateData |
FgFontGateData copy() - create alone copy of data |
countNodesContours |
function | (self, *args: Any, **kwargs: Any) -> Any |
(nodesCount, contoursCount) countNodesContours() - calculate stats for 'Body' layer if it present, return (0,0) otherwise |
countPictures |
function | (self) -> int |
Int countPictures() - return pictures count (shared captured text) |
countShapes |
function | (self) -> int |
Int countShapes() - return shapes count |
findLayer |
function | (self, *args: Any, **kwargs: Any) -> Any |
FgLayer findLayer('name') - get layer by name, return Nothing if no layer found |
getFontGateData |
function | (self) -> fgFontGateData |
FgFontGateData getFontGateData() - return self |
getType |
function | (self) -> Any |
String getType() - return 'dtFontGate' |
hasBody |
function | (self, prepareExport: bool) -> bool |
Bool hasBody(bool prepareExport) - return true if non-empty body layer is present (shared captured text) |
hasColors |
function | (self) -> bool |
Bool hasColors() - return true if colors is present (shared captured text) |
hasHints |
function | (self) -> bool |
Bool hasHints() - return true if hints is present (shared captured text) |
hasPictures |
function | (self) -> bool |
Bool hasPictures() - return true if pictures is present (shared captured text) |
layers |
attribute | Any |
(fgLayers) layers list |
maskLayer |
function | (self, createIfMissing: bool) -> fgLayer |
|
modified |
function | (self) -> bool |
Bool modified() - return true if data was changed |
resetBbox |
function | (self) -> Any |
Reset bbox cache |
setParent |
function | (self, arg0: fgGlyph) -> Any |
Set parent glyph (shared captured text) |
status |
function | (self) -> Any |
'gdsOK'/'gdsInvalid' status() (shared captured text) |
transform |
function | (self, arg0: fgMatrix) -> Any |
Transform data (shared captured text) |
updated |
function | (self) -> Any |
Mark data as changed, reset internal caches (shared captured text) |