fontgate.fgKerningObjectPair
fgKerningObjectPair
KerningObjectPair representation
Constructors: fgKerningObjectPair() - default fgKerningObjectPair(fgKerningObjectPair) - copy fgKerningObjectPair( tuple(fgKerningObject, fgKerningObject) ) fgKerningObjectPair('nameLeft', 'nameRight') fgKerningObjectPair(fgKerningObject, fgKerningObject) fgKerningObjectPair('nameLeft', 'nameRight', modeLeft, modeRight) - modeLeft, modeRight must be one of 'glyphMode'/'groupMode'
Native bases: object
Captured native MRO: fgKerningObjectPair, object
Native new allocation evidence (not an init overload): (args, *kwargs) Create and return a new object. See help(type) for accurate signature.
Supplemental documentation:
A kerning pair made of a left and a right kerning object, each a glyph or a group, with asDict and asTuple. Consult the retained constructor documentation for the supported creation forms, which take names, kerning objects or a tuple of two kerning objects.
Source: generated/fontgate.py: fgKerningObjectPair captured declaration
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) |
asDict |
function | (self, *args: Any, **kwargs: Any) -> Any |
Represent object as dictionary (shared captured text) |
asTuple |
function | (self, *args: Any, **kwargs: Any) -> Any |
Represent object as tuple (shared captured text) |
left |
attribute | Any |
(fgKerningObject) - left glyph or group |
right |
attribute | Any |
(fgKerningObject) - right glyph or group |