setFrameOrigin(_:)
Positions the bottom-left corner of the window’s frame rectangle at a given point in screen coordinates.
Declaration
func setFrameOrigin(_ point: NSPoint)Parameters
- point:
The new position of the window’s bottom-left corner in screen coordinates.
Discussion
Note that the window server limits window position coordinates to ±16,000.