International PHP Conference Berlin 2025

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 */
}

Table of Contents

add a note

User Contributed Notes

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