Contents

element::size

Returns the current size of the element.

Declaration

float2 element::size()

Return Value

The size as a 2D vector (width, height)

Discussion

Use this function to read the element’s dimensions in meters, which represent its width and height.