feat: add the area()
API for renderable elements
#1667
Merged
area()
API for renderable elements
#1667