Skip to content

typerig.proxy.fl.pens.outlinePen.OutlinePen

OutlinePen

OutlinePen (protocol) Adapted from: Frederik Berlaen's (Typemytype) outlinerRoboFontExtension Original Source: https://github.com/typemytype/outlinerRoboFontExtension

Attribs: - offset (float): Outline offset - contrast (float): Outline Contrast - contrastAngle (float): Outline contrast angle - connection (string): Connection type - square; - cap (string): Cap type - round - closeOpenPaths (bool): Close open paths - optimizeCurve (bool): Optimize curve (adds an extra point of every curve at .5 time) - filterDoubles (bool): Filter double nodes - miterLimit (float): Sets miter limit

Returns: - getGlyphs(): innerGlyph, outerGlyph, originalGlyph,(fgGlyph) - getShapes(): innerShape, outerShape, originalShape (flShape) - getContours(): innerContour, outerContour, originalContour (flShape)

Source bases

  • BasePen (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
__init__ function (self, **kwargs)
buildCap function (self, firstContour, lastContour)
buildConnection function (self, close=False)
capButt function (self, firstContour, lastContour, first, last, angle)
capRound function (self, firstContour, lastContour, first, last, angle)
capSquare function (self, firstContour, lastContour, first, last, angle)
connectionButt function (self, first, last, pen, close)
connectionInnerCorner function (self, first, last, pen, close)
connectionRound function (self, first, last, pen, close)
connectionSquare function (self, first, last, pen, close)
getContours function (self)
getGlyphs function (self)
getShapes function (self)
getThickness function (self, angle)
magicCurve attribute
pointClass attribute