vfbLib.vfb.glyph.VfbGlyphMaster

class vfbLib.vfb.glyph.VfbGlyphMaster(glyph: VfbGlyph, master_index: int = 0)

Bases: object

__init__(glyph: VfbGlyph, master_index: int = 0)

Methods

__init__(glyph[, master_index])

clearContours()

drawPoints(pen)

Draw the VFB glyph onto a point pen.

getPen()

Return a segment pen to draw into the VFB glyph.

getPointPen()

Return a point pen to draw into the VFB glyph.

Attributes

name

drawPoints(pen: AbstractPointPen) None

Draw the VFB glyph onto a point pen.

getPen() AbstractPen

Return a segment pen to draw into the VFB glyph.

getPointPen() VfbGlyphPointPen

Return a point pen to draw into the VFB glyph.