path supported
bug: do not close yet; so a rectangle is like "U" shape.