StandardIcons
Static class providing easy access to the construction of various icons.
Properties
Grasshopper2GdiIcon
#Gets a GDI ico instance with the Grasshopper 2 logo.
public static Icon Grasshopper2GdiIcon { get; }
Grasshopper2Icon
#Gets the Grasshopper 2 icon in an Icon instance stored under various sizes.
public static Icon Grasshopper2Icon { get; }
Grasshopper2IconModel
#Gets a GDI ico describing the Icon Colour space.
public static Icon Grasshopper2IconModel { get; }
Methods
AnimatedCountDown
#Create an animated countdown icon.
public static IIcon AnimatedCountDown()
colour,
Colour of icon shapes.
duration,
Fixed duration for count-down animation.
Time of countdown start. Do not override this field unless you specifically do not want the animation to start right now. Times must be specified in UTC format.
format = "{0:0.0}"
AnimatedSphere
#Create an animated icon which indicates a busy state.
AnimatedSquare
#Create an animated icon which indicates a busy state.
Capsule
#Create an icon which acts as a box for another icon.
ColourCrystal
#Create a hexagonal crystal-like icon
public static VectorIcon ColourCrystal()
edge,
Colour of edge.
Color[]
enabledColours,
Array of six fill colours to be used in the on-state.
Color[]
disabledColours = null
Array of six fill colours to be used in the off-state. If none specified, the greyscale versions of the 'enabled' colours will be used.
Returns: Crystal icon.
ColourGrid
#Create a standard randomized square grid of sampled colours.
CreateSpecialIcon
#Create a typical special object icon.
GridSnap
#Create the standard grid snapping icon.
Key
#Gets the standard icon associated with the given Key. Note that not all Keys have icons. Modifier keys and letter keys are currently supported, symbol, number and function keys are not (yet) available.
Returns: Standard key icon or null.
Key
#Gets the standard icon associated with the given Key. Note that not all Keys have icons. Modifier keys and letter keys are currently supported, symbol, number and function keys are not (yet) available.
Returns: Standard key icon or null.
LetterDisc
#A disc with the two starting characters of a name.
ModifierLengthDomain
#Gets the standard icon used for the Length domain modifier on curve and surface parameters.
ModifierNaturalDomain
#Gets the standard icon used for the Natural domain modifier on curve and surface parameters.
ModifierNormalDomain
#Gets the standard icon used for the Normalise modifier on curve and surface parameters.
ModifierNullToFalse
#Gets the standard icon used for the Null -> False modifier on boolean parameters.
ModifierReduceAngles
#Gets the standard icon used for the angle reduction modifier on angle parameters.
ParameterAccess
#Gets the icon for the given access.
ParameterRepeat
#Gets the icon for the given looping repeat method.
SunMoon
#Create the icon which toggles between Sun (state=1) and Moon (state=0) states.