fgComponent
fontgate.fgComponent = class fgComponent(object)
Component representation Constructors: fgComponent() - default fgComponent(fgComponent) - copy fgComponent('name', fgMatrix) - by 'name' and transformation matrix fgMatrix
Methods
- __delattr__(...)
-
x.__delattr__('name') <==> del x.name
- __getattribute__(...)
-
x.__getattribute__('name') <==> x.name
- __setattr__(...)
-
x.__setattr__('name', value) <==> x.name = value
- drawPoints(...)
-
drawPoints(pen object) - draw the object with a point pen
Descriptors
- baseGlyph
-
(string) name of base glyph
- box
-
(fgRect) - bounding box
- hasFullMatrix
- index
-
(int) component index in glyph's components list
- matrix
-
(fgMatrix) - component transform matrix
- offset
- scale
Attributes
- __new__ = <built-in method __new__ of type object>
-
T.__new__(S, ...) -> a new object with type S, a subtype of T
baseGlyph
- fontgate.fgComponent.baseGlyph
-
(string) name of base glyph
box
- fontgate.fgComponent.box
-
(fgRect) - bounding box
draw
- fontgate.fgComponent.draw = draw(...)
-
draw(pen object) - draw the object with a segment pen
drawPoints
- fontgate.fgComponent.drawPoints = drawPoints(...)
-
drawPoints(pen object) - draw the object with a point pen
index
- fontgate.fgComponent.index
-
(int) component index in glyph's components list
matrix
- fontgate.fgComponent.matrix
-
(fgMatrix) - component transform matrix
move
- fontgate.fgComponent.move = move(...)
-
move(dx, dy) - move by float dx, dy value