The CairoLinearGradient class

(PECL cairo >= 0.1.0)

Introduction

Create a new CairoLinearGradient along the line defined

Class synopsis

CairoLinearGradient extends CairoGradientPattern {
/* Methods */
public __construct ( float $x0 , float $y0 , float $x1 , float $y1 )
public getPoints ( void ) : array
/* Inherited methods */
public CairoGradientPattern::addColorStopRgb ( float $offset , float $red , float $green , float $blue ) : void
public CairoGradientPattern::addColorStopRgba ( float $offset , float $red , float $green , float $blue , float $alpha ) : void
public CairoGradientPattern::getColorStopRgba ( int $index ) : array
public CairoGradientPattern::getExtend ( void ) : int
public CairoGradientPattern::setExtend ( int $extend ) : void
}

Table of Contents