Grasshopper API
GH_PaletteStyle Class |
Contains all the colours for a single capsule palette.

Namespace: Grasshopper.GUI.Canvas
Assembly: Grasshopper (in Grasshopper.dll)

The GH_PaletteStyle type exposes the following members.

Name | Description | |
---|---|---|
![]() | GH_PaletteStyle(Color) |
Construct a new GH_Box_Palette_Colours instance with a single base colour.
|
![]() | GH_PaletteStyle(Color, Color) |
Construct a new GH_Box_Palette_Colours instance.
|
![]() | GH_PaletteStyle(Color, Color, Color) |
Construct a new GH_Box_Palette_Colours instance.
|

Name | Description | |
---|---|---|
![]() | Edge |
Gets or sets the edge of this style.
|
![]() | Fill |
Gets or sets the fill of this style.
|
![]() | Text |
Gets or sets the text of this style.
|

Name | Description | |
---|---|---|
![]() | CreateBrush |
Create a fill brush. At low zoom levels the brush will be solid colour,
at medium to high zoom levels the brush will have a gradient.
|

