TornEdgesTransform
public class TornEdgesTransform : Transform
Applies a torn edge border effect to the image.
-
Initializes a
TornEdgesTransformobject.Declaration
Swift
public init()
-
Adds the
spreadoption.Declaration
Swift
@discardableResult func spread(start: Int, end: Int) -> SelfParameters
startThe spread’s start value.
endThe spread’s end value.
-
Adds the
backgroundoption.Declaration
Swift
@discardableResult func background(_ value: UIColor) -> SelfParameters
valueSets the background color to display behind the torn edge effect.
View on GitHub
TornEdgesTransform Class Reference