Class
VignetteTransform
public class VignetteTransform: Transform
Applies a vignette border effect to the image.
Relationships
Superclass
Transform:nodoc:
Initializers
Methods
amount(_:)
@discardableResult
func amount(_ value: Int) -> Self
Adds the amount option.
Parameters
| Name | Type | Description |
|---|---|---|
| value | Int |
Controls the opacity of the vignette effect. Valid range: |
blurMode(_:)
@discardableResult
func blurMode(_ value: TransformBlurMode) -> Self
Adds the blurMode option.
Parameters
| Name | Type | Description |
|---|---|---|
| value | TransformBlurMode |
An |
background(_:)
@discardableResult
func background(_ value: UIColor) -> Self
Adds the background option.
Parameters
| Name | Type | Description |
|---|---|---|
| value | UIColor |
Replaces the default transparent background with the specified color. |