I want to find the area of a texture is applied on(floor area in the scene ))

hello folks
I am figuring out how to get area of a floor in a scene using api of shapespark. Can someone help me plzz…