Gradient
in package
Table of Contents
- $endColor : ColorInterface
- $startColor : ColorInterface
- $type : GradientType
- __construct() : mixed
- getEndColor() : ColorInterface
- getStartColor() : ColorInterface
- getType() : GradientType
Properties
$endColor
private
ColorInterface
$endColor
$startColor
private
ColorInterface
$startColor
$type
private
GradientType
$type
Methods
__construct()
public
__construct(ColorInterface $startColor, ColorInterface $endColor, GradientType $type) : mixed
Parameters
- $startColor : ColorInterface
- $endColor : ColorInterface
- $type : GradientType
Return values
mixed —getEndColor()
public
getEndColor() : ColorInterface
Return values
ColorInterface —getStartColor()
public
getStartColor() : ColorInterface
Return values
ColorInterface —getType()
public
getType() : GradientType