get nspath representation
bahman last edited by gferreira
I can't find this in the docs. What is the key for NSpath representation of the glyph?
g = CurrentGlyph() g.getRepresentation("NSpath")
bahman last edited by
I found them using this:
g = CurrentGlyph() print("\n".join(g.naked().representationFactories.keys()))
representations are handled by
defcon, the docs are here.
glyph = CurrentGlyph() path = glyph.naked().getRepresentation("defconAppKit.NSBezierPath")