Skip to content

GH_BackgroundStyle

Public Enum

Enumerates the pre-defined canvas background themes.

Namespace: Grasshopper.GUI.Theme

Assembly: Grasshopper (in Grasshopper.dll)

Syntax

public enum GH_BackgroundStyle

Members

Member name

Value

Description


Solid

0

Canvas background will be a single, solid colour.


Hatch

1

Canvas background will be a GDI hatch brush.


GradientLeftRight

10

Canvas background will be a linear horizontal gradient.


GradientTopBottom

11

Canvas background will be a linear vertical gradient.