public sealed class CmyCube : AbstractColourCube
Implementation of ColourCube for the subtractive Cyan-Magenta-Yellow ink model.

Constructors

CmyCube

#
Create a new RGB cube centered on a specific colour.
public CmyCube(
colour
)

Properties

Colour

public Colour Colour { get; }
inherited fromAbstractColourCube
Colour

Coordinate

public Point4d Coordinate { get; }
inherited fromAbstractColourCube

Filter

#
public override NamedPalette Filter { get; set; }

Format

#
public override string Format { get; }

Icon

#
public override IIcon Icon { get; }

Nomen

public Nomen Nomen { get; }
inherited fromAbstractColourCube
Nomen

Pivot

public PointF Pivot { get; }
inherited fromAbstractColourCube

Slice

public RectangleF Slice { get; }
inherited fromAbstractColourCube

Zoom

public float Zoom { get; }
inherited fromAbstractColourCube

Methods

AssignCubeState

Most-derived type constructor invoke.
protected void AssignCubeState(
point,
New point.
colour
New colour.
)
inherited fromAbstractColourCube
Must return new instance of the derived type.

Draw

Render this cube into a graphics context.
public void Draw(
context,
Graphics context.
RectangleF
bounds,
Target bounds. The height of the bounds is assumed to be the same as the width.
visuals
Drawing properties.
)
inherited fromAbstractColourCube
Draw

GetChannels

#
public override void GetChannels(
channel1,
channel2,
channel3
)

GetTexture

#
protected override IMultiResolutionTexture GetTexture()

SetChannels

#
public override void SetChannels(
channel1,
channel2,
channel3
)

SetColour

public void SetColour(
colour
)
inherited fromAbstractColourCube
SetColour

ToColour

#
protected override Colour ToColour(
point
)

ToPoint

#
protected override Point4d ToPoint(
colour
)