Mix

final case
class Mix(a: Ex[Color], b: Ex[Color], w: Ex[Double], mode: Ex[Int]) extends Ex[Color]

Mixes two colors.

Value Params
mode

0 to mix based on RGB model, 1 to mix based on HSB model.

w

weight from zero (purely color a) to one (purely color b).

Companion
object
trait Serializable
trait Ex[Color]
trait Flow
trait Lazy
trait Product
trait Equals
class Object
trait Matchable
class Any

Type members

Types

type Repr[T <: Txn[T]] = IExpr[T, Color]

Value members

Concrete methods

override
def productPrefix: String
Definition Classes
Product

Inherited methods

final
def expand[T <: Txn[LazyRef(...)]](implicit ctx: Context[T], tx: T): Repr[T]
Inherited from
Lazy
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product

Inherited fields

@transient
final protected
val ref: Object
Inherited from
Lazy