Filestack\Filelink::tornEdges
Set this Filelink's transform_url to include the torn_edges task
Signature
public function tornEdges([string
$background = 'white',
[array
$spread = ]] )
Parameters
$background
—
string
- Sets the background color to display behind
the image. This can be the word for a color,
or the hex color code, e.g. ('red' or 'FF0000')
$spread
—
array
- Sets the spread of the tearing effect. The
value must be an array of two integers in
a range from 1 to 10000.
Returns
- Filestack/Filelink
Errors/Exceptions
-
FilestackException
- if API call fails, e.g 404 file not found
Test Coverage
Information
- Coverage: / Lines (%)
- Tests: 0
- Passed: 0 (0%)