The flags field of the event record for the mouse-down event that initiated the resizing session.
The value of this property is a mask indicating which of the modifier keys was held down when the mouse-down event occurred. The flags are listed in
modifierFlags method description. The property is valid only while the window is being resized.
You can use this property to constrain the direction or amount of resizing. Because of its limited validity, this property should only be accessed from within an implementation of the delegate method
var frame: NSRect
The window’s frame rectangle in screen coordinates, including the title bar.
var aspectRatio: NSSize
The window’s aspect ratio, which constrains the size of its frame rectangle to integral multiples of this ratio when the user resizes it.
var minSize: NSSize
The minimum size to which the window’s frame (including its title bar) can be sized.
var maxSize: NSSize
The maximum size to which the window’s frame (including its title bar) can be sized.
This action method simulates the user clicking the zoom box by momentarily highlighting the button and then zooming the window.
This action method toggles the size and location of the window between its standard state (provided by the application as the “best” size to display the window’s data) and its user state (a new size and location the user may have set by moving or resizing the window).