Static variables
@:value(new Color(0, 0, 1, 1))staticfinalread onlyBLUE:Color = new Color(0, 0, 1, 1)
@:value(new Color(0, 1, 0, 1))staticfinalread onlyGREEN:Color = new Color(0, 1, 0, 1)
@:value(new Color(1, 0, 1, 1))staticfinalread onlyMAGENTA:Color = new Color(1, 0, 1, 1)
@:value(new Color(1, 0, 0, 1))staticfinalread onlyRED:Color = new Color(1, 0, 0, 1)
@:value(new Color(1, 1, 1, 1))staticfinalread onlyWHITE:Color = new Color(1, 1, 1, 1)
Static methods
Constructor
@:value({ a : 0, b : 0, g : 0, r : 0 })new(r:Float = 0, g:Float = 0, b:Float = 0, a:Float = 0)
Variables
Methods
add(r:Float, g:Float, b:Float, a:Float):Color
set(r:Float, g:Float, b:Float, a:Float):Color