Class CompiledStepColorTree.Leaf
- Namespace
- Hi.MachiningProcs
- Assembly
- HiNc.dll
A leaf of a compiled tree.
public sealed record CompiledStepColorTree.Leaf : IEquatable<CompiledStepColorTree.Leaf>
- Inheritance
-
CompiledStepColorTree.Leaf
- Implements
- Inherited Members
- Extension Methods
Constructors
Leaf(int, string, int, double, string, int)
A leaf of a compiled tree.
public Leaf(int Id, string Name, int Lane, double Hue, string ValueKey, int ValueIndex)
Parameters
IdintThe leaf's id, the value of the tree's step property for its steps.
NamestringThe leaf's name as authored.
LaneintThe leaf's lane in a chart: the first leaf of the tree has the highest, the last 0.
HuedoubleThe HSL hue of the leaf's color, 0 to 1.
ValueKeystringThe key of the step property shown for its steps; null for none.
ValueIndexint
Properties
Hue
The HSL hue of the leaf's color, 0 to 1.
public double Hue { get; init; }
Property Value
Id
The leaf's id, the value of the tree's step property for its steps.
public int Id { get; init; }
Property Value
Lane
The leaf's lane in a chart: the first leaf of the tree has the highest, the last 0.
public int Lane { get; init; }
Property Value
Name
The leaf's name as authored.
public string Name { get; init; }
Property Value
ValueIndex
public int ValueIndex { get; init; }
Property Value
ValueKey
The key of the step property shown for its steps; null for none.
public string ValueKey { get; init; }