convertFromScreen(_:)
Converts a rectangle from the screen coordinate system to the window’s coordinate system.
Declaration
func convertFromScreen(_ rect: NSRect) -> NSRectParameters
- rect:
A rectangle in the screen’s coordinate system.
Return Value
A rectangle in the window’s coordinate system.