HumHub Documentation (unofficial)

Horizontal extends Linear
in package

FinalYes

Horizontal gradient fill.

Table of Contents

Properties

$end  : ColorInterface
$length  : int
$start  : ColorInterface

Methods

__construct()  : mixed
Constructs a linear gradient with overall gradient length, and start and end shades, which default to 0 and 255 accordingly.
getColor()  : ColorInterface
Gets color of the fill for the given position.
getDistance()  : int
Get the distance of the position relative to the beginning of the gradient.
getEnd()  : ColorInterface
getStart()  : ColorInterface

Properties

Methods


        
On this page

Search results