Filestack Documentation

Class Modulate​Transform

public class ModulateTransform: Transform  

Changes the image brightness, saturation and hue.

ModulateTransform ModulateTransform Transform Transform ModulateTransform->Transform

Superclass

Transform

:nodoc:

Initializers

init()

public init()  

Initializes a ModulateTransform object.

Methods

brightness(_:​)

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

Adds brightness option.

Parameters

value Int

Valid range: 0...10000

saturation(_:​)

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

Adds saturation option.

Parameters

value Int

Valid range: 0...10000

hue(_:​)

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

Adds hue option.

Parameters

value Int

Valid range: 0...359