# Gradient Brushes

(UI 2.0.0)

## 简介

Abstract for gradient brushes

## 类摘要

abstract class UI\Draw\Brush\Gradient extends UI\Draw\Brush {
/* 方法 */
public function addStop(float `$position`, UI\Draw\Color `$color`): int
public function addStop(float `$position`, int `$color`): int
public function delStop(int `$index`): int
public function setStop(int `$index`, float `$position`, UI\Draw\Color `$color`): bool
public function setStop(int `$index`, float `$position`, int `$color`): bool
/* 继承的方法 */
public function UI\Draw\Brush::getColor(): UI\Draw\Color
public function UI\Draw\Brush::setColor(UI\Draw\Color `$color`): void
public function UI\Draw\Brush::setColor(int `$color`): void
}

## 目录

- UI\Draw\Brush\Gradient::addStop — Stop Manipulation
- UI\Draw\Brush\Gradient::delStop — Stop Manipulation
- UI\Draw\Brush\Gradient::setStop — Stop Manipulation

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open