Modifier.CopyHue

Modifier
public sealed class Modifier.CopyHue : Modifier
Keeps the lightness and chroma of a colour but takes its hue from another colour. A neutral source has no hue to give, so it leaves the colour alone.

Constructors

CopyHue

#
public CopyHue(ColourOperand operand)
operand (ColourOperand)

Properties

Dependencies

#
public override PropertyId[] Dependencies { get; }

Kind

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

Operand

#
public ColourOperand Operand { 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>)