Constructors
Properties
Implements: Colour
Coordinate
Implements: Nomen
Pivot
public PointF Pivot { get; }
Slice
public RectangleF Slice { get; }
Methods
AssignCubeState
Most-derived type constructor invoke.
Draw
Render this cube into a graphics context.
Parameters:
| context (Context) | Graphics context. |
| bounds (RectangleF) | Target bounds. The height of the bounds is assumed to be the same as the width. |
| visuals (ColourModelVisuals) | Drawing properties. |
Implements: Draw
GetChannels
#Gets the channel values of the current space.
Parameters:
| channel1 (out UiNumber) | Properties of first channel. |
| channel2 (out UiNumber) | Properties of second channel. |
| channel3 (out UiNumber) | Properties of third channel. |
Overrides: AbstractColourCube.GetChannels
SetChannels
#Sets the three channel values.
Parameters:
| channel1 (UiNumber) | First channel. |
| channel2 (UiNumber) | Second channel. |
| channel3 (UiNumber) | Third channel. |
Returns: True if new channels were successfully applied, false if some rounding/clipping was required.
Overrides: AbstractColourCube.SetChannels
SetColour
ToColour
#Convert from cube coordinate to colour.
Parameters:
| point (Point4d) |
Overrides: AbstractColourCube.ToColour
ToPoint
#Convert from colour to cube coordinate.
Parameters:
| colour (Colour) |
Overrides: AbstractColourCube.ToPoint