CollageTransform
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.
-
Adds the
margin
option.Declaration
Swift
@discardableResult func margin(_ value: Int) -> Self
Parameters
value
Valid range:
1...100
-
Adds the
color
option.Declaration
Swift
@discardableResult func color(_ value: UIColor) -> Self
Parameters
value
Sets the background color to display behind the images.
-
Changes the
fit
option to every image fromauto
tocrop
.Declaration
Swift
@discardableResult func cropFit() -> Self
-
Adds the
autorotate
option.Declaration
Swift
@discardableResult func autorotate() -> Self