add missing properties of cp.SegmentShape and cp.PolyShape

#1048 
I believe this should be the assert for `b.y`