ColourOperand

References
public readonly struct ColourOperand
Either a literal colour or a reference to a colour property; the second operand of a mix.

Properties

IsReference

#
public bool IsReference { get; }

Literal

#
public Colour Literal { get; }

Property

#
public PropertyId Property { get; }

Methods

Constant

#
public static ColourOperand Constant(
colour
)

Reference

#
public static ColourOperand Reference(
property
)

Resolve

#
public Colour Resolve()

ToText

#
public string ToText()

TryParse

#
public static bool TryParse(
text,
operand
)