Skip to content

fontlab_pens.point.AbstractPointPen · declarations 001

Back to fontlab_pens.point.AbstractPointPen

addComponent

addComponent(baseGlyphName: str, transformation: tuple[float, float, float, float, float, float], identifier: str | None = None, **kwargs: Any) -> None

Add a sub glyph.

addPoint

addPoint(pt: Point, segmentType: str | None = None, smooth: bool = False, name: str | None = None, identifier: str | None = None, **kwargs: Any) -> None

Add a point; segmentType is None for off-curves.

addVarComponent

addVarComponent(glyphName: str, transformation: Any, location: dict[str, float], identifier: str | None = None, *, resetUnspecifiedAxes: bool = False, **kwargs: Any) -> None

Add a variable component; glyph sets decompose these, so pens raise.

beginPath

beginPath(identifier: str | None = None, **kwargs: Any) -> None

Start a new sub path.

endPath

endPath() -> None

End the current sub path.