CairoPattern::status
CairoGradientPattern::addColorStopRgb
Cairo
PHP Manual

# The CairoGradientPattern class

## Introduction

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

## Class synopsis

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

## Table of Contents

- CairoGradientPattern::addColorStopRgb — The addColorStopRgb purpose
- CairoGradientPattern::addColorStopRgba — The addColorStopRgba purpose
- CairoGradientPattern::getColorStopCount — The getColorStopCount purpose
- CairoGradientPattern::getColorStopRgba — The getColorStopRgba purpose
- CairoGradientPattern::getExtend — The getExtend purpose
- CairoGradientPattern::setExtend — The setExtend purpose

CairoPattern::status
CairoGradientPattern::addColorStopRgb
Cairo
PHP Manual