BlendMode
@objc(PESDKBlendMode) public enum BlendMode: Int
Represents the type of blend that should be used for several operations such as overlay.
-
Standard alpha blending should be used.
Declaration
Swift
case normal
-
Overlay blending should be used.
Declaration
Swift
case overlay
-
Soft-light blending should be used.
Declaration
Swift
case softLight
-
Hard-light blending should be used.
Declaration
Swift
case hardLight
-
Multiply blending should be used.
Declaration
Swift
case multiply
-
Darken blending should be used.
Declaration
Swift
case darken
-
Color-burn blending should be used.
Declaration
Swift
case colorBurn
-
Screen blending should be used.
Declaration
Swift
case screen
-
Lighten blending should be used.
Declaration
Swift
case lighten
-
Returns a string to describe the blend mode.
Declaration
Swift
public var description: String
-
Returns a default value for the intensity.
Declaration
Swift
public var defaultIntensity: CGFloat
-
Returns a
CIFilter
that performs the blending according to the given mode.Declaration
Swift
public var filter: CIFilter?