PHP 7.4.22 Released!

Gradient Brushes

(UI 2.0.0)

Introduction

Abstract for gradient brushes

Synopsis de la classe

abstract class UI\Draw\Brush\Gradient extends UI\Draw\Brush {
/* Méthodes */
public addStop(float $position, UI\Draw\Color $color): int
public addStop(float $position, int $color): int
public delStop(int $index): int
public setStop(int $index, float $position, UI\Draw\Color $color): bool
public setStop(int $index, float $position, int $color): bool
/* Méthodes héritées */
public UI\Draw\Brush::setColor(int $color): void
}

Sommaire

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top