performance optimizations fo for no fill and no stroke