trait BackgroundQualifierTrait

Trait BackgroundQualifierTrait

Methods

background(array ...$value)

Defines the background color to use.

Details

static Background background(array ...$value)

Defines the background color to use.

This applies to various scenarios including: * Defining the color to use instead of transparent background areas when converting to a format that does not support transparency * Using the pad crop mode * Setting the color behind a text overlay * Setting the color behind subtitles

Parameters

Name Type Description
...$value array The background color. Can be set as an RGB or RGBA hex triplet or quadruplet, a 3- or 4-digit RGB/RGBA hex, or a named color.

Return Value

Background