View source

abstract thx.color.Cmy(Array<Float>)

Available on all platforms

CMY is a subtractive color space and is the complementar to Rgbx.

Class Fields

inline function create(cyan:Float, magenta:Float, yellow:Float):Cmy

function fromFloats(arr:Array<Float>):Cmy

function fromString(color:String):Null<Cmy>

Instance Fields

var cyan(get,null):Float

var magenta(get,null):Float

var yellow(get,null):Float

function equals(other:Cmy):Bool

function interpolate(other:Cmy, t:Float):Cmy

function max(other:Cmy):Cmy

function min(other:Cmy):Cmy

function nearEquals(other:Cmy, tolerance:Float = Floats.EPSILON):Bool

function normalize():Cmy

function roundTo(decimals:Int):Cmy

function toCmyk():Cmyk

function toGrey():Grey

function toHsl():Hsl

function toHsv():Hsv

function toLCh():LCh

function toLab():Lab

function toLuv():Luv

function toRgb():Rgb

function toRgba():Rgba

function toRgbx():Rgbx

function toRgbxa():Rgbxa

function toString():String

function toXyz():Xyz

function toYuv():Yuv

function toYxy():Yxy

function withCyan(newcyan:Float):Cmy

function withMagenta(newmagenta:Float):Cmy

function withYellow(newyellow:Float):Cmy