SepiaTransform

public class SepiaTransform : Transform

Converts the image to sepia color.

Lifecycle

  • Initializes a SepiaTransform object.

    Declaration

    Swift

    public init()

Public Functions

  • Adds the tone option.

    Declaration

    Swift

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

    Parameters

    value

    The value to set the sepia tone to. Valid range: 0...100