public sealed class Fades : IEquatable<Fades>
A collection of related zoom-linked fading states. These typically are assigned from scratch for each drawing operation, and are thus not specified as a user setting.

Constructors

Fades

#
public Fades(float wire, float grip, float text, float icon, float form, float zuis)
Create a new fading skin.
wire (float)
grip (float)
text (float)
icon (float)
form (float)
zuis (float)

Fields

Empty

#
public static readonly Fades Empty
Gets the state with complete fading.

Full

#
public static readonly Fades Full
Gets the state without any fading.

Normal

#
public static readonly Fades Normal
Gets the states associated with normal 100% zoom levels.

Properties

Form

#
public float Form { get; }
Gets the amount of fading to apply to the shape details.

Grip

#
public float Grip { get; }
Gets the amount of fading to apply to grips.

Icon

#
public float Icon { get; }
Gets the amount of fading to apply to icons.

Text

#
public float Text { get; }
Gets the amount of fading to apply to regular drawn text.

Wire

#
public float Wire { get; }
Gets the amount of fading to apply to wires.

Zuis

#
public float Zuis { get; }
Gets the amount of fading to apply to canvas ZUI elements.

Methods

Equals

#
public bool Equals(Fades other)
other (Fades)

Equals

#
public override bool Equals(object obj)
obj (object)
Object.Equals

Fade

#
public Fades Fade(float factor)
Fade all values by some factor.
factor (float)

GetHashCode

#
public override int GetHashCode()

Interpolate

#
public Fades Interpolate(Fades other, float factor)
Interpolate between schemes.
other (Fades)Other scheme.
factor (float)Interpolation factor.
Interpolated scheme.