Gradient Brushes

Introduction

Abstract for gradient brushes

Class synopsis

UI\Draw\Brush\Gradient
abstract class 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()
public void UI\Draw\Brush::setColor(UI\Draw\Color $color)
public void UI\Draw\Brush::setColor(int $color)
}
Table of Contents