fgAnchor
fontgate.fgAnchor = class fgAnchor(object)
Anchor representation Constructors: fgAnchor() - default fgAnchor(fgAnchor) - copy fgAnchor((x, y), 'name') - create with position=(x, y) and name='name' fgAnchor(x, y, 'name') - create with position=(x, y) and name='name'
Methods
- __delattr__(...)
-
x.__delattr__('name') <==> del x.name
- __getattribute__(...)
-
x.__getattribute__('name') <==> x.name
- __setattr__(...)
-
x.__setattr__('name', value) <==> x.name = value
- drawPoints(...)
-
drawPoints(penObject) - draw the object with a point pen
- scale(...)
-
scale((scale_x, scale_y)[, (center_x, center_y)]) - scale anchor by (scale_x, scale_y) with center=(center_x, center_y) or (0,0) if not defined
Descriptors
- data
-
(uint) - data
- index
-
(int) - index of object for owner's base layer
- mark
-
(uint) - mark
- name
-
(string) - name
- position
-
(fgPoint) - coordinates as fgPoint
- x
-
(int/double) - horizontal coordinate
- y
-
(int/double) - vertical coordinate
Attributes
- __new__ = <built-in method __new__ of type object>
-
T.__new__(S, ...) -> a new object with type S, a subtype of T
copy
- fontgate.fgAnchor.copy = copy(...)
-
copy(fgAnchor) - copy data from another fgAnchor object
data
- fontgate.fgAnchor.data
-
(uint) - data
draw
- fontgate.fgAnchor.draw = draw(...)
-
draw(penObject) - draw the object with a segment pen
drawPoints
- fontgate.fgAnchor.drawPoints = drawPoints(...)
-
drawPoints(penObject) - draw the object with a point pen
index
- fontgate.fgAnchor.index
-
(int) - index of object for owner's base layer
mark
- fontgate.fgAnchor.mark
-
(uint) - mark
move
- fontgate.fgAnchor.move = move(...)
-
move(dx, dy) - move anchor by (dx, dy)
name
- fontgate.fgAnchor.name
-
(string) - name
position
- fontgate.fgAnchor.position
-
(fgPoint) - coordinates as fgPoint
round
- fontgate.fgAnchor.round = round(...)
-
round() - round anchor coordinates
scale
- fontgate.fgAnchor.scale = scale(...)
-
scale((scale_x, scale_y)[, (center_x, center_y)]) - scale anchor by (scale_x, scale_y) with center=(center_x, center_y) or (0,0) if not defined
transform
- fontgate.fgAnchor.transform = transform(...)
-
transform(fgMatrix) - transform anchor coordinates by matrix
x
- fontgate.fgAnchor.x
-
(int/double) - horizontal coordinate
y
- fontgate.fgAnchor.y
-
(int/double) - vertical coordinate