add missing properties of cp.SegmentShape and cp.PolyShape

#1048