Filestack\Filelink::polaroid
Set this Filelink's transform_url to include the polaroid task
Signature
public function polaroid([string
$background = 'white',
[string
$color = 'snow',
[integer
$rotate = 45]]] )
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, ('red' or 'FF0000')
$color
—
string
- Sets the polaroid frame color. This can be
a word or the hex value ('red' or 'FF0000')
$rotate
—
integer
- Degree by which to rotate the image clockwise.
Range is 0 to 359.
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%)