class Horizontal extends Linear
Methods
__construct(integer $length, Color $start, Color $end)
Constructs a linear gradient with overall gradient length, and start and end shades, which default to 0 and 255 accordingly |
from Linear | |
Color |
getColor(PointInterface $position)
Gets color of the fill for the given position |
from Linear |
Color | getStart() | from Linear |
Color | getEnd() | from Linear |
getDistance(PointInterface $position)
{@inheritdoc} |
Details
in Linear at line 43
final public
__construct(integer $length, Color $start, Color $end)
Constructs a linear gradient with overall gradient length, and start and end shades, which default to 0 and 255 accordingly
in Linear at line 53
final public Color
getColor(PointInterface $position)
Gets color of the fill for the given position
in Linear at line 79
final public Color
getStart()
in Linear at line 87
final public Color
getEnd()
at line 21
public
getDistance(PointInterface $position)
{@inheritdoc}