Skip to main content

Size

A simple 2D size object.

Interface

struct Size

property double width
property double height

end

Example

// Read size properties
const size = Window.focused().size();
Phoenix.log(size.width, size.height); // -> 1024 512