AbstractColor
in package
implements
ColorInterface
AbstractYes
Abstract image color class
Tags
Table of Contents
Interfaces
- ColorInterface
- Image color interface
Constants
Methods
- __toString() : string
- Method to print the color object
- render() : string
- Convert to readable string
Constants
COMMA
String formats
public
mixed
COMMA
= 'COMMA'
CSS
public
mixed
CSS
= 'CSS'
PERCENT
public
mixed
PERCENT
= 'PERCENT'
Methods
__toString()
Method to print the color object
public
abstract __toString() : string
Return values
stringrender()
Convert to readable string
public
abstract render([string|null $format = null ]) : string
Parameters
- $format : string|null = null