AutoBackgroundMode
class AutoBackgroundMode extends QualifierMultiValue
Defines the custom colors to use when resizing using content-aware padding.
Learn more: Content-aware padding with custom color palette
Methods
__construct(string $type)
AutoBackgroundMode constructor.
type(string $type)
Determines which color is automatically chosen for the background.
contrast()
Inverse the color.
Details
__construct(string $type)
AutoBackgroundMode constructor.
AutoBackgroundMode
type(string $type)
Determines which color is automatically chosen for the background.
AutoBackgroundMode
contrast()
Inverse the color.
Constants
VALUE_DELIMITER |
|
TYPE |
|
CONTRAST |
|