public int GetColor(float position, float size, bool invert = false) { GetTweenColorsByStops(ref position, ref size, out int c1, out int c2); if (invert) return Colours.Blend(c2, c1, position, size); return Colours.Blend(c1, c2, position, size); }
public RGBA Blend(IRGBA c2, float e0 = 0) { return(Colours.Blend(this, c2.Value, e0)); }