Modifier.Mix

Modifier
public sealed class Modifier.Mix : Modifier
Mixes a colour towards another colour, in Oklab, by a percentage.

Constructors

Mix

#
public Mix(ColourOperand operand, int percent)
operand (ColourOperand)
percent (int)

Properties

Dependencies

#
public override PropertyId[] Dependencies { get; }

Kind

#
public override PropertyType Kind { get; }
Modifier.Kind

Operand

#
public ColourOperand Operand { get; }

Percent

#
public int Percent { get; }

Methods

Apply

#
public override SkinValue Apply(SkinValue value, Func<PropertyId, SkinValue> resolve)
value (SkinValue)
resolve (Func<PropertyId, SkinValue>)
Modifier.Apply

ToString

public override string ToString()
inherited fromModifier
Object.ToString

ToText

#
public override string ToText()
Modifier.ToText

WithoutReferences

#
public override Modifier WithoutReferences(Func<PropertyId, SkinValue> resolve)
resolve (Func<PropertyId, SkinValue>)