Table of Contents

Class StepColorLeaf

Namespace
Hi.MachiningProcs
Assembly
HiNc.dll

A node that colors the steps it takes. Saved as <Leaf Id Name ShortName Hue_deg ValueKey> holding its <When>.

public sealed class StepColorLeaf : StepColorNode
Inheritance
StepColorLeaf
Inherited Members
Extension Methods

Fields

XName

Name for XML IO.

public const string XName = "Leaf"

Field Value

string

Properties

Hue_deg

The HSL hue of the leaf's color in degrees, drawn with full saturation and half lightness; a value outside 0 to 360 is taken modulo 360. Null is automatic: the hue GetDiscreteHue(int) gives the leaf's Id, which keeps off the reds and the deep blues.

public double? Hue_deg { get; set; }

Property Value

double?

ShortName

The short name a chart prints on the leaf's lane, where the room is narrow (about five CJK characters): the whole Name stays where there is room (a legend, a list, a tooltip). Null or empty prints the name, cut to the room. User text, not translated.

public string ShortName { get; set; }

Property Value

string

ValueKey

The key of the step property the charts show for the steps of this leaf, as the band of its values; null or empty shows none.

public string ValueKey { get; set; }

Property Value

string

Methods

Clone()

A deep copy, ids included.

public override StepColorNode Clone()

Returns

StepColorNode