Instance Method

destroyContext()

Destroys the receiver’s graphics context.

Declaration

func destroyContext()

Discussion

Do not invoke this method directly—it is invoked at the end of a print operation.

See Also

Managing the Drawing Context

var context: NSGraphicsContext?

Returns the graphics context object used for generating output.

func createContext() -> NSGraphicsContext?

Creates the graphics context object used for drawing during the operation.