From the outset, i would like to add to Shape something like "Polygon convertToPolygon()" but later i changed my mind and maybe i will add it in some other PR. With this method and some additional code, you can use shapes with box2d, drawing and so on.