CIFilter_Stylize_BlendWithAlphaMask - linhay/Stem GitHub Wiki

CIFilter.Stylize.BlendWithAlphaMask

Discussion When a mask alpha value is 0.0, the result is the background. When the mask alpha value is 1.0, the result is the image.

public struct BlendWithAlphaMask: CIFilterContainerProtocol

Inheritance

CIFilterContainerProtocol

Initializers

init()

init()

Properties

filter

var filter: CIFilter

image

A CIImage object whose display name is Image.

var image: CIImage?

backgroundImage

A CIImage object whose display name is Background Image.

var backgroundImage: CIImage?

maskImage

A CIImage object whose display name is Mask Image.

var maskImage: CIImage?