Filestack\Filelink::roundedCorners
Set this Filelink's transform_url to include the rounded_corners task
Signature
public function roundedCorners([string
$background = 'white',
[float
$blur = 0.3,
[integer
$radius = 10]]] )
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')
$blur
—
float
- Specify the amount of blur to apply to the
rounded edges of the image. (0 - 20).
$radius
—
integer
- The radius of the rounded corner effect on
the image. (0-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%)