classOf method

WindowClass classOf(
  1. Size size
)

The window class for a window of size.

Implementation

WindowClass classOf(Size size) =>
    WindowClass(width: widthClassOf(size.width), height: heightClassOf(size.height));