Creating Line as subclass of Polygon
Adding transform to shapeLayer path in polygon

fixes issue #190