BorderQualifier
class BorderQualifier extends BaseQualifier
Adds a solid border around an image or video.
Learn more: Adding image borders
Properties
BorderValue | $value |
Methods
solid(int $width = null, string $color = null)
Adds a border around the image.
width(int|string $width)
Sets the width of the border.
style(string $style)
Sets the style of the border.
color(string $color)
Sets the color of the border.
fromParams(string|array $border)
Creates a new instance using provided qualifiers array.
Details
static Border
solid(int $width = null, string $color = null)
Adds a border around the image.
$this
width(int|string $width)
Sets the width of the border.
$this
style(string $style)
Sets the style of the border.
$this
color(string $color)
Sets the color of the border.
static BorderQualifier
fromParams(string|array $border)
Creates a new instance using provided qualifiers array.
Constants
VALUE_CLASS |
|