TODO consolidate line, path, polygon, ribbon