Class
TornEdgesTransform
public class TornEdgesTransform: Transform
Applies a torn edge border effect to the image.
Relationships
Superclass
Transform:nodoc:
Initializers
Methods
spread(start:end:)
@discardableResult
func spread(start: Int, end: Int) -> Self
Adds the spread option.
Parameters
| Name | Type | Description |
|---|---|---|
| start | Int |
The spread's start value. |
| end | Int |
The spread's end value. |
background(_:)
@discardableResult
func background(_ value: UIColor) -> Self
Adds the background option.
Parameters
| Name | Type | Description |
|---|---|---|
| value | UIColor |
Sets the background color to display behind the torn edge effect. |