Skip to content

fontlab_pens.point.AbstractPointPen

AbstractPointPen

Base class for all point pens.

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, baseGlyphName: str, transformation: tuple[float, float, float, float, float, float], identifier: str |… Add a sub glyph.
addPoint function (self, pt: Point, segmentType: str | None=None, smooth: bool=False, name: str | None=None, identifier: str | … Add a point; segmentType is None for off-curves.
addVarComponent function (self, glyphName: str, transformation: Any, location: dict[str, float], identifier: str | None=None, *, reset… Add a variable component; glyph sets decompose these, so pens raise.
beginPath function (self, identifier: str | None=None, **kwargs: Any) -> None Start a new sub path.
endPath function (self) -> None End the current sub path.