added support for basic strokes and join styles