vfbLib.vfb.glyph.VfbGlyph
- class vfbLib.vfb.glyph.VfbGlyph(entry: VfbEntry, parent: Vfb | VfbMaster)
Bases:
objectMethods
__init__(entry, parent)clearContours()Decompile the Glyph entry and return the glyph name.
draw(pen)Draw the VFB glyph onto a segment pen.
drawPoints(pen)Draw the VFB glyph onto a point pen.
empty()getPen()Return a segment pen to draw into the VFB glyph.
Return a point pen to draw into the VFB glyph.
Attributes
name- getPen() AbstractPen
Return a segment pen to draw into the VFB glyph.
- getPointPen() VfbGlyphPointPen
Return a point pen to draw into the VFB glyph.