WireColours

References
public sealed class WireColours : IStorable
The colours of one wire group. The glow behind selected wires is shared by every group and lives on WiresSkin.

Constructors

WireColours

#
public WireColours(Color normal, Color selected)
normal (Color)
selected (Color)

WireColours

#
public WireColours(IReader reader)
reader (IReader)

Properties

Normal

#
public Color Normal { get; }
Gets the colour of a wire with no selected end.

Selected

#
public Color Selected { get; }
Gets the colour of a wire with both ends selected, and of the selected end of a wire with one.

Methods

Fade

#
public WireColours Fade(float factor)
factor (float)
Explicit

IStorable.Store

#
void IStorable.Store(IWriter writer)
writer (IWriter)
Store

Interpolate

#
public WireColours Interpolate(WireColours other, float factor)
other (WireColours)
factor (float)