PHP Russia 2022

ColorButton Control

(UI 0.9.9)

Introduction

A Color Button is a button which displays a color picker when clicked

Class synopsis

class UI\Controls\ColorButton extends UI\Control {
/* Methods */
public getColor(): UI\Color
protected onChange()
public setColor(UI\Draw\Color $color)
public setColor(int $color)
/* Inherited methods */
public UI\Control::isEnabled(): bool
public UI\Control::isVisible(): bool
}

Table of Contents

add a note add a note

User Contributed Notes

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