Instance Property


A Boolean value indicating the receiver’s flipped state.


var isFlipped: Bool { get }


The state is determined by sending flipped to the receiver’s view that has focus. If no view has focus, returns false unless the receiver is instantiated using init(cgContext:flipped:) specifying true as the flipped parameter.

See Also

Getting Information About a Context

var attributes: [NSGraphicsContext.AttributeKey : Any]?

The attributes used to create this instance.

struct NSGraphicsContext.AttributeKey

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

struct NSGraphicsContext.RepresentationFormatName

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