Filestack Documentation

Class Vignette​Transform

public class VignetteTransform: Transform  

Applies a vignette border effect to the image.

VignetteTransform VignetteTransform Transform Transform VignetteTransform->Transform

Superclass

Transform

:nodoc:

Initializers

init()

public init()  

Initializes a VignetteTransform object.

Methods

amount(_:​)

@discardableResult
    func amount(_ value: Int) -> Self  

Adds the amount option.

Parameters

value Int

Controls the opacity of the vignette effect. Valid range: 0...100

blur​Mode(_:​)

@discardableResult
    func blurMode(_ value: TransformBlurMode) -> Self  

Adds the blurMode option.

Parameters

value Transform​Blur​Mode

An TransformBlurMode value.

background(_:​)

@discardableResult
    func background(_ value: UIColor) -> Self  

Adds the background option.

Parameters

value UIColor

Replaces the default transparent background with the specified color.