I’ve a case in which I need to draw square composed of four triangles like in the photo bellow :

The triangles parameters are stored in the JDBC , I know how to draw shapes in Lbgdx but this kind of shape seems a bit tricky to me , any help would be greatly appreciated .