PHP Class pocketmine\utils\Color

Datei anzeigen Open project: iTXTech/Genisys Class Usage Examples

Public Properties

Property Type Description
$dyeColors SplFixedArray

Public Methods

Method Description
__construct ( $r, $g, $b )
__toString ( )
averageColor ( variadic $colors )
getBlue ( )
getColorCode ( )
getDyeColor ( $id )
getGreen ( )
getRGB ( $r, $g, $b )
getRed ( )
init ( )

Method Details

__construct() public method

public __construct ( $r, $g, $b )

__toString() public method

public __toString ( )

averageColor() public static method

public static averageColor ( variadic $colors )
$colors variadic

getBlue() public method

public getBlue ( )

getColorCode() public method

public getColorCode ( )

getDyeColor() public static method

public static getDyeColor ( $id )

getGreen() public method

public getGreen ( )

getRGB() public static method

public static getRGB ( $r, $g, $b )

getRed() public method

public getRed ( )

init() public static method

public static init ( )

Property Details

$dyeColors public_oe static_oe property

public static SplFixedArray $dyeColors
return SplFixedArray