CairoSurfacePattern::setFilter
CairoLinearGradient::__construct
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 int CairoGradientPattern::getColorStopCount ( void )
public array CairoGradientPattern::getColorStopRgba ( string `$index` )
public int CairoGradientPattern::getExtend ( void )
public void CairoGradientPattern::setExtend ( int `$extend` )
}

## Table of Contents

- CairoLinearGradient::__construct — The __construct purpose
- CairoLinearGradient::getPoints — The getPoints purpose

CairoSurfacePattern::setFilter
CairoLinearGradient::__construct
Cairo
PHP Manual