Defaults

public static class Defaults

Properties

EdgeColour

#
public static Color EdgeColour { get; }

EdgeStrokeStandard

#
public static float EdgeStrokeStandard { get; }

FacetColour

#
public static Color FacetColour { get; }

FacetColourSelected

#
public static Color FacetColourSelected { get; }

FlawColour

#
public static Color FlawColour { get; }

FlawDashes

#
public static Dashes FlawDashes { get; }

Glow

#
public static float Glow { get; }

GlowSelected

#
public static float GlowSelected { get; }

GrasshopperBolyai

#
public static Guises GrasshopperBolyai { get; }
Create the standard planar focused style called "Bolyai".

GrasshopperCalm

#
public static Guises GrasshopperCalm { get; }
Create the standard green style called "Calm".

GrasshopperCold

#
public static Guises GrasshopperCold { get; }
Create the standard cyan style called "Cold".

GrasshopperCool

#
public static Guises GrasshopperCool { get; }
Create the standard blue style called "Cool".

GrasshopperCozy

#
public static Guises GrasshopperCozy { get; }
Create the standard warm style called "Cozy".

GrasshopperDefault

#
public static Guises GrasshopperDefault { get; }
Gets the default display guises, as hard coded into Grasshopper 2.0

GrasshopperMatisse

#
public static Guises GrasshopperMatisse { get; }
Create the standard trim focused style called "Matisse".

GrasshopperMonet

#
public static Guises GrasshopperMonet { get; }
Create the standard faint style called "Monet".

GrasshopperOne

#
public static Guises GrasshopperOne { get; }
Gets the Grasshopper 1.0 display style.

GrasshopperShannon

#
public static Guises GrasshopperShannon { get; }
Create the standard high-information style called "Shannon".

GridColourSelected

#
public static Color GridColourSelected { get; }

PointSizeSelected

#
public static float PointSizeSelected { get; }

PointSizeStandard

#
public static float PointSizeStandard { get; }

PointSymbol

#
public static Symbol PointSymbol { get; }

UColour

#
public static Color UColour { get; }

UserDefault

#
public static Guises UserDefault { get; set; }
Gets or sets the user defaults. These will be picked if the document doesn't provide its own guises. If unset, this property returns the GrasshopperDefault guises.

VColour

#
public static Color VColour { get; }

WireColour

#
public static Color WireColour { get; }

WireColourSelected

#
public static Color WireColourSelected { get; }

WireStrokeSelected

#
public static float WireStrokeSelected { get; }

WireStrokeStandard

#
public static float WireStrokeStandard { get; }

XColour

#
public static Color XColour { get; }

YColour

#
public static Color YColour { get; }

Methods

AutoDiffuseColour

#
public static Color AutoDiffuseColour(Color colour)
Create a diffuse colour which suits a wire colour. Diffuse colours should be brighter and less saturated than wires to look nice.
colour (Color)

IsSet

#
public static bool IsSet(Color colour)
colour (Color)

IsSet

#
public static bool IsSet(Dashes dashes)
dashes (Dashes)

IsSet

#
public static bool IsSet(float number)
number (float)

IsSet

#
public static bool IsSet(Stripe style)
style (Stripe)

IsSet

#
public static bool IsSet(Symbol symbol)
symbol (Symbol)

IsUnset

#
public static bool IsUnset(Color colour)
colour (Color)

IsUnset

#
public static bool IsUnset(Dashes dashes)
dashes (Dashes)

IsUnset

#
public static bool IsUnset(float number)
number (float)

IsUnset

#
public static bool IsUnset(Stripe style)
style (Stripe)

IsUnset

#
public static bool IsUnset(Symbol symbol)
symbol (Symbol)