Anchor

FL.Anchor = class Anchor(object)

===============================================
  Anchor - class to represent Anchor point
===============================================
Integer values are accepted as coordinates

CONSTRUCTOR:
  Anchor() - generic constructor, creates an Anchor with zero coordinates and empty name
  Anchor(Anchor) - copy constructor
  Anchor(string name, integer x, integer y) - creates an Anchor and assigns name and coordinates.

ATTRIBUTES:
  parent (read-only) - anchor's parent object, Glyph
  name (string) - anchor's name as a string
  x (integer) - horizontal position of the anchor
  y (integer) - vertical position of the anchor
  p (Point) - position of the anchor as a Point object

OPERATIONS:

METHODS
  Transform(Matrix m) - applies Matrix transformation to the Anchor(see Matrix().__doc__)
  Layer(int layer_index) - returns position for the "layer_index" master
  SetLayer(int layer_index, Point position) - sets "position" position for the "layer_index" master

Methods

Layer(...)


SetLayer(...)


Transform(...)


__delattr__(...)
x.__delattr__('name') <==> del x.name
__getattribute__(...)
x.__getattribute__('name') <==> x.name
__init__(...)
x.__init__(...) initializes x; see help(type(x)) for signature
__repr__(...)
x.__repr__() <==> repr(x)
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value

Attributes

__new__ = <built-in method __new__ of type object>
T.__new__(S, ...) -> a new object with type S, a subtype of T