Skip to content

# `Link`

## FL.Link = class Link(object)

      ===============================================
        Link - class to represent link
      ===============================================

      CONSTRUCTOR:
        Link() - generic constructor, creates a Link with zero coordinates
        Link(Link) - copy constructor
        Link(index1, index2) - creates a Link between nodes index1 and index2

      ATTRIBUTES:
        parent (read-only) - Link's parent object, Glyph
        node1, node2 (integer) - indexes of the nodes that are linked

      OPERATIONS:

      METHODS
        ToHint() - transforms link to Hint (and returns it as a result) using parent as a source of node coordinates. Parent must exist

#### Methods

ToHint(...)

__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