trait OpacityQualifierTrait

Trait OpacityQualifierTrait

Methods

opacity(int $level)

Adjusts the opacity of the image and makes it semi-transparent.

Details

static Opacity opacity(int $level)

Adjusts the opacity of the image and makes it semi-transparent.

Parameters

Name Type Description
$level int The level of opacity. 100 means opaque, while 0 is completely transparent (Range: 0 to 100).

Return Value

Opacity