Contents

gState()

Returns the window’s graphics state object.

Declaration

func gState() -> Int

Return Value

The graphics state object associated with the window.

Discussion

This graphics state is used by default for all NSView objects in the window’s view hierarchy, but individual views can be made to use their own with the NSView method allocateGState().

See Also

Methods