NP- Array Draw Shape

Guys I am trying to get np array of these objects =====>

enter image description here

enter image description here But I couldnt do it? How can I get their np array results? just like this ==>

shape = np.array([[[0,0],[-25,-25],[-10,-25],[-10,-50],
                     [10,-50],[10,-25],[25,-25]]])

Can someone help me to convert them to np array.