Contents

setFrameTopLeftPoint(_:)

Positions the top-left corner of the window’s frame rectangle at a given point in screen coordinates.

Declaration

func setFrameTopLeftPoint(_ point: NSPoint)

Parameters

  • point:

    The new position of the window’s top-left corner in screen coordinates.

Discussion

Note that the window server limits window position coordinates to ±16,000; if necessary, adjust aPoint relative to the window’s lower-left corner to account for this limit.

See Also

Sizing Windows