trait BorderStyleTrait

Trait BorderStyleTrait

Methods

solid(int|null $width = null, string|null $color = null)

Adds a border around the image.

Details

static Border solid(int|null $width = null, string|null $color = null)

Adds a border around the image.

Parameters

Name Type Description
$width int|null The width in pixels.
$color string|null The color of the border.

Return Value

Border