void addPath(String style, String path) { if(_currentStyle == style) { _currentPath += path; } else { flushPath(); _currentStyle = style; _currentPath = path; } }