UI
PHP Manual

Gradient Brushes

(PHP 7, UI 2.0.0)

Introduction

Abstract for gradient brushes

Class synopsis

abstract UI\Draw\Brush\Gradient extends UI\Draw\Brush {
/* Methods */
public int addStop ( float $position , UI\Draw\Color $color )
public int addStop ( float $position , int $color )
public int delStop ( int $index )
public bool setStop ( int $index , float $position , UI\Draw\Color $color )
public bool setStop ( int $index , float $position , int $color )
/* Inherited methods */
public UI\Draw\Color UI\Draw\Brush::getColor ( void )
public void UI\Draw\Brush::setColor ( UI\Draw\Color $color )
public void UI\Draw\Brush::setColor ( int $color )
}

Table of Contents


UI
PHP Manual