Cairo
PHP Manual

The CairoLinearGradient class

Introduction

Create a new CairoLinearGradient along the line defined

Class synopsis

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

Table of Contents


Cairo
PHP Manual