GH_Theme

References
public class GH_Theme : GH_ISerializable

Constructors

GH_Theme

#
Create a new default theme.
public GH_Theme()

GH_Theme

#
Make a duplicate of another theme.
public GH_Theme(
GH_Theme
other
Theme to copy.
)

Properties

BackGround

#
Gets the theme background settings.
public GH_BackgroundSettings BackGround { get; }

DefaultTheme

#
public static GH_Theme DefaultTheme { get; }

Objects

#
Gets the theme objects and ZUI settings.
public GH_ObjectSettings Objects { get; }

Page

#
Gets the theme page and grid settings.
public GH_PageSettings Page { get; }

Palettes

#
Gets the theme palette settings.
public GH_PaletteSettings Palettes { get; }

Wires

#
Gets the theme wire settings.
public GH_WireSettings Wires { get; }

Methods

LoadTheme

#
Instantiate all palette and gui defaults. This function reads the colour values out of grasshopper_gui.xml settings database if it exists.
public void LoadTheme()

Read

#
public bool Read(
reader
)
Read

SaveTheme

#
Store all palette and gui defaults. This function writes the colour values out to grasshopper_gui.xml settings database.
public void SaveTheme()

Write

#
public bool Write(
writer
)
Write