opacity
The opacity of drawing operations in the context.
Declaration
var opacity: Double { get set }Discussion
Set this value to affect the opacity of content that you subsequently draw into the context. Changing this value has no impact on the content you previously drew into the context.