Structure

NSGraphicsContext.AttributeKey

These constants are dictionary keys used by init(attributes:) and attributes.

Declaration

struct AttributeKey

Topics

Attribute Keys

static let destination: NSGraphicsContext.AttributeKey

Can be an instance of NSWindow or NSBitmapImageRep when creating a graphics context.

Relationships

See Also

Getting Information About a Context

var attributes: [NSGraphicsContext.AttributeKey : Any]?

The attributes used to create this instance.

struct NSGraphicsContext.RepresentationFormatName

These constants are possible values for the NSGraphicsContextRepresentationFormatAttributeName key in a graphic context’s attribute dictionary.

var isFlipped: Bool

A Boolean value indicating the receiver’s flipped state.