Class
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.
Relationships
Superclass
Transform
:nodoc:
Methods
margin(_:)
@discardableResult
func margin(_ value: Int) -> Self
Adds the margin
option.
Parameters
Name | Type | Description |
---|---|---|
value | Int |
Valid range: |
color(_:)
@discardableResult
func color(_ value: UIColor) -> Self
Adds the color
option.
Parameters
Name | Type | Description |
---|---|---|
value | UIColor |
Sets the background color to display behind the images. |
cropFit()
@discardableResult
func cropFit() -> Self
Changes the fit
option to every image from auto
to crop
.