Filestack Documentation

Class Collage​Transform

public class CollageTransform: Transform  

The collage task accepts an array of Filestack file handles, storage aliases, or external URLs. These files are appended in given order to the base file of the transformation URL. Altogther the base image and the passed files are the images that will comprise the collage. The order in which they are added dictates how the images will be arranged.

CollageTransform CollageTransform Transform Transform CollageTransform->Transform

Superclass

Transform

:nodoc:

Methods

margin(_:​)

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

Adds the margin option.

Parameters

value Int

Valid range: 1...100

color(_:​)

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

Adds the color option.

Parameters

value UIColor

Sets the background color to display behind the images.

crop​Fit()

@discardableResult
    func cropFit() -> Self  

Changes the fit option to every image from auto to crop.

autorotate()

@discardableResult
    func autorotate() -> Self  

Adds the autorotate option.