destinationIn
A mode that you use to erase any of the background that isn’t covered by opaque source pixels.
Declaration
static var destinationIn: GraphicsContext.BlendMode { get }Discussion
This mode implements the equation R = D*Sa where
Ris the composite image.Sis the source image.Dais the source background’s alpha value.