Skip to content

typerig.proxy.fl.pens.abstractPen.AbstractPen

AbstractPen

AbstractPen as specified by FontTools (fontTools.pens.basePen.py)

Source bases

  • object (not resolved from selected source)

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
addComponent function (self, glyphName, transformation) Add a sub glyph.
closePath function (self) Close the current sub path.
curveTo function (self, *points) Draw a cubic bezier with an arbitrary number of control points.
endPath function (self) End the current sub path, but don't close it.
lineTo function (self, pt) Draw a straight line from the current point to 'pt'.
moveTo function (self, pt) Begin a new sub path, set the current point to 'pt'.
qCurveTo function (self, *points) Draw a whole string of quadratic curve segments.