Skip to content

FL.KerningPair

KerningPair

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

Native bases: object

Captured native MRO: KerningPair, object

Native new allocation evidence (not an init overload): (args, *kwargs) Create and return a new object. See help(type) for accurate signature.

Complete member index

Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.

Member Kind Signature Summary
__init__ function (self, /, *args: Any, **kwargs: Any) -> None Initialize self. (shared captured text)