Cairo
PHP Manual

The CairoGradientPattern class

(PECL cairo >= 0.1.0)

Introduction

CairoGradientPattern is an abstract base class from which other Pattern classes derive. It cannot be instantiated directly.

Class synopsis

CairoGradientPattern extends CairoPattern {
/* Methods */
public void addColorStopRgb ( float $offset , float $red , float $green , float $blue )
public void addColorStopRgba ( float $offset , float $red , float $green , float $blue , float $alpha )
public int getColorStopCount ( void )
public array getColorStopRgba ( int $index )
public int getExtend ( void )
public void setExtend ( int $extend )
/* Inherited methods */
public CairoPattern::__construct ( void )
public void CairoPattern::getMatrix ( void )
public int CairoPattern::getType ( void )
public void CairoPattern::setMatrix ( CairoMatrix $matrix )
public int CairoPattern::status ( void )
}

Table of Contents


Cairo
PHP Manual