GH_ColourCube Constructor

GH_ColourCube Constructor

Create a new instance of this class.

Namespace:  Grasshopper.GUI.Base
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public GH_ColourCube(
	Rectangle box,
	GH_ColourSpace space,
	Point4d color
)
Public Sub New ( 
	box As Rectangle,
	space As GH_ColourSpace,
	color As Point4d
)

Parameters

box
Type: System.DrawingRectangle
Rectangle containing entire colour cube. Should be square.
space
Type: Grasshopper.GUI.BaseGH_ColourSpace
color
Type: Point4d
See Also