alphaInfo
Returns the alpha information associated with the context, which indicates how a bitmap context handles the alpha component.
Declaration
var alphaInfo: CGImageAlphaInfo { get }Discussion
Every bitmap context contains an attribute that specifies whether the bitmap contains an alpha component, and how it is generated. The alpha component determines the opacity of a pixel when it is drawn.