Skip to content

# `KerningPair`

## FL.KerningPair = class KerningPair(object)

      ===============================================
        KerningPair - class to represent kerning pair
      ===============================================
      This class is Multiple Master - compatible

      CONSTRUCTOR:
        KerningPair() - generic constructor, creates an empty KerningPair
        KerningPair(KerningPair) - copy constructor
        KerningPair(index) - creates a KerningPair to glyph referenced by index but zero value
        KerningPair(index, value) - creates a KerningPair to glyph referenced by index but and assigns value

      ATTRIBUTES:
        parent (read-only) - KerningPair's parent object, Glyph
        key (integer) - index of right glyph of the pair
        value (integer) - value of the pair
        values [(integer)] - list of values for each master

      OPERATIONS:

      METHODS

#### Methods

__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