abstract class Linear implements FillInterface
Linear gradient fill
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 |
||
Color |
getColor(PointInterface $position)
Gets color of the fill for the given position |
|
Color |
getStart()
|
|
Color |
getEnd()
|
Details
at line 46
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
at line 56
final public Color
getColor(PointInterface $position)
Gets color of the fill for the given position
at line 82
final public Color
getStart()
at line 90
final public Color
getEnd()