略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: UI\Draw\Brush\Gradient

2024-11-12

Gradient Brushes

(UI 2.0.0)

简介

Abstract for gradient brushes

类摘要

abstract class UI\Draw\Brush\Gradient extends UI\Draw\Brush {
/* 方法 */
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
/* 继承的方法 */
public UI\Draw\Brush::setColor(int $color): void
}

目录

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/class.ui-draw-brush-gradient.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3