View source

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

Available on all platforms

Class Fields

inline function create(y1:Float, x:Float, y2:Float):Yxy

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

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

Instance Fields

var x(get,null):Float

var y1(get,null):Float

var y2(get,null):Float

function equals(other:Yxy):Bool

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

function max(other:Yxy):Yxy

function min(other:Yxy):Yxy

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

function roundTo(decimals:Int):Yxy

function toCmy():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 withY(newx:Float):Yxy

function withY1(newy1:Float):Yxy

function withZ(newy2:Float):Yxy