Skip to content

# `Hint`

## FL.Hint = class Hint(object)

      ===============================================
        Hint - class to represent hint
      ===============================================
      This class is Multiple Master - compatible

      CONSTRUCTOR:
        Hint() - generic constructor, creates a Hint with zero coordinates
        Hint(Hint) - copy constructor
        Hint(position, width) - creates a Hint and assigns position and width values

      ATTRIBUTES:
        parent (read-only) - Hint's parent object, Glyph
        position (integer) - position of the hint
        width (integer) - width of the hint
        positions [(integer)] - list of positions for each master
        widths [(integer)] - list of widths for each master

      OPERATIONS:

      METHODS
        ToLink() - transforms hint to Link (and returns it as a result) using parent as a source of node coordinates. Parent must exist
        Transform(Matrix m) - applies Matrix transformation to the Hint (see Matrix().__doc__)
        TransformLayer(Matrix m, layernum) - applies Matrix transformation to the selected layer of the Hint

#### Methods

ToLink(...)

Transform(...)

TransformLayer(...)

__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