Genisys  Genisys API 1.9.3
A server software for Minecraft: Pocket Edition with many features
Color Class Reference

Public Member Functions

 __construct ($r, $g, $b)
 
 getRed ()
 
 getBlue ()
 
 getGreen ()
 
 getColorCode ()
 
 __toString ()
 

Static Public Member Functions

static init ()
 
static getRGB ($r, $g, $b)
 
static averageColor (Color...$colors)
 
static getDyeColor ($id)
 

Data Fields

const COLOR_DYE_BLACK = 0
 
const COLOR_DYE_RED = 1
 
const COLOR_DYE_GREEN = 2
 
const COLOR_DYE_BROWN = 3
 
const COLOR_DYE_BLUE = 4
 
const COLOR_DYE_PURPLE = 5
 
const COLOR_DYE_CYAN = 6
 
const COLOR_DYE_LIGHT_GRAY = 7
 
const COLOR_DYE_GRAY = 8
 
const COLOR_DYE_PINK = 9
 
const COLOR_DYE_LIME = 10
 
const COLOR_DYE_YELLOW = 11
 
const COLOR_DYE_LIGHT_BLUE = 12
 
const COLOR_DYE_MAGENTA = 13
 
const COLOR_DYE_ORANGE = 14
 
const COLOR_DYE_WHITE = 15
 

Static Public Attributes

static $dyeColors = null
 

The documentation for this class was generated from the following file: