StandardIcons

public static class 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

AccessItem

#
Gets the standard icon used to indicate a parameter access level of Access.Item
public static IIcon AccessItem()

AccessTree

#
Gets the standard icon used to indicate a parameter access level of Access.Item
public static IIcon AccessTree()

AccessTwig

#
Gets the standard icon used to indicate a parameter access level of Access.Item
public static IIcon AccessTwig()

ActivityIcon

#
Gets the default activity (enabled/disabled) icon.
public static IIcon ActivityIcon()

Add

#
Create the standard addition icon.
public static IIcon Add(
colour = null
)

AnimatedCountDown

#
Create an animated countdown icon.
public static IIcon AnimatedCountDown(
colour,
Colour of icon shapes.
duration,
Fixed duration for count-down animation.
start = default(DateTime),
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.
public static IIcon AnimatedSphere(
colour = null
Colour of icon shapes.
)

AnimatedSquare

#
Create an animated icon which indicates a busy state.
public static IIcon AnimatedSquare(
face = null,
axis = null
)

Arrow

#
Create an icon which looks like an arrow.
public static IIcon Arrow(
colour = null,
Arrow fill colour.
direction = ArrowDirection.E
Arrow direction.
)

Capsule

#
Create an icon which acts as a box for another icon.
public static IIcon Capsule(
colour,
Capsule fill colour.
content,
Icon inside box.
sizeHint
Size at which the icon is supposed to be drawn at a scale of one-unit-per-pixel.
)

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.
)
Crystal icon.

ColourGrid

#
Create a standard randomized square grid of sampled colours.
public static IIcon ColourGrid(
Func<double, Color>
function
Function for colour sampling, it will be invoked with normalised parameters.
)

ColourModelCmy

#
Gets the icon associated with the CMY colour model.
public static IIcon ColourModelCmy()
Icon.

ColourModelHsl

#
Gets the icon associated with the HSL colour model.
public static IIcon ColourModelHsl()
Icon.

ColourModelHsp

#
Gets the icon associated with the HSP colour model.
public static IIcon ColourModelHsp()
Icon.

ColourModelHsv

#
Gets the icon associated with the HSV colour model.
public static IIcon ColourModelHsv()
Icon.

ColourModelIcon

#
Gets the icon associated with the Icon colour model.
public static IIcon ColourModelIcon()
Icon.

ColourModelLab

#
Gets the icon associated with the L*a*b* colour model.
public static IIcon ColourModelLab()
Icon.

ColourModelRgb

#
Gets the icon associated with the RGB colour model.
public static IIcon ColourModelRgb()
Icon.

ColourModelRgbLinear

#
Gets the icon associated with the linear RGB colour model.
public static IIcon ColourModelRgbLinear()
Icon.

ColourModelXyz

#
Gets the icon associated with the XYZ colour model.
public static IIcon ColourModelXyz()
Icon.

ColourModelYxy

#
Gets the icon associated with the Yxy colour model.
public static IIcon ColourModelYxy()
Icon.

ColourPalette

#
Gets the icon associated with the custom palette control.
public static VectorIcon ColourPalette(
colour = null
)

ColourPipette

#
Gets the icon associated with the screen colour sampler.
public static VectorIcon ColourPipette(
colour = null
)

ColourSplatter

#
Creates a paint splatter icon with drips slaved to unit state.
public static VectorIcon ColourSplatter(
colour = null
)

ColourSwatch

#
Gets an icon that represents a single colour.
public static IIcon ColourSwatch(
Color
colour
)

CreateSpecialIcon

#
Create a typical special object icon.
public static IIcon CreateSpecialIcon(
top,
Colour along top of icon frame.
bottom,
Colour along bottom of icon frame. Leave null to use top colour again.
content
Icon to display inside the frame.
)

Delete

#
Create the standard delete icon.
public static IIcon Delete(
colour = null
)

DocumentationState

#
Gets the icon associated with the given documentation state.
public static IIcon DocumentationState(
ProcessState
state
)

GridSnap

#
Create the standard grid snapping icon.
public static IIcon GridSnap(
edge = null
Colour of grid lines.
)

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.
public static VectorIcon Key(
key
)
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.
public static VectorIcon Key(
Keys
key
)
Standard key icon or null.

LetterDisc

#
A disc with the two starting characters of a name.
public static IIcon LetterDisc(
name
)

LightBulb

#
Create the standard lightbulb icon.
public static IIcon LightBulb(
edges = null,
Colour of edges.
Color
fill = default(Color)
Colour of the bulb fill.
)
Lightbulb icon.

LoopAccumulation

#
Gets the standard looping accumulation icon.
public static IIcon LoopAccumulation(
accumulation
)

Magnet

#
Create the standard magnet icon.
public static IIcon Magnet(
edge = null,
Edge colour.
Color
poles = default(Color)
Colour of bar.
)
Icon.

Magnifier

#
Create the standard magnifier glass icon.
public static IIcon Magnifier(
edges = null,
Colour of edges.
fill = null
Colour of fill.
)
Icon.

Message

#
Gets a triangular message symbol icon.
public static IIcon Message(
Color
colour
Fill colour for icon.
)

Message

#
Gets a triangular message symbol icon.
public static IIcon Message(
level,
Message level.
skin
Messaging skin.
)

ModifierAngleDegrees

#
Gets the standard icon used for the degree modifier on angle parameters.
public static IIcon ModifierAngleDegrees()

ModifierAngleRadians

#
Gets the standard icon used for the radian modifier on angle parameters.
public static IIcon ModifierAngleRadians()

ModifierAngleTurns

#
Gets the standard icon used for the turn modifier on angle parameters.
public static IIcon ModifierAngleTurns()

ModifierAssignMetas

#
Gets the standard icon used for the per-parameter AssignMetaData process.
public static IIcon ModifierAssignMetas()

ModifierAutoUpdate

#
Gets the standard icon used for the auto-update toggle on text parameters.
public static IIcon ModifierAutoUpdate()

ModifierExpression

#
Gets the standard icon used for the expression modifier.
public static IIcon ModifierExpression()

ModifierFlatten

#
Gets the standard icon used for the Modifiers.Flatten modifier.
public static IIcon ModifierFlatten()

ModifierFlipCurve

#
Gets the standard icon used for the Flip modifier on curve parameters.
public static IIcon ModifierFlipCurve()

ModifierFlipVector

#
Gets the standard icon used for the Flip modifier on vector parameters.
public static IIcon ModifierFlipVector()

ModifierGraft

#
Gets the standard icon used for the Modifiers.Graft modifier.
public static IIcon ModifierGraft()

ModifierIncrement

#
Gets the standard icon used for the Modifiers.Increment modifier.
public static IIcon ModifierIncrement()

ModifierLengthDomain

#
Gets the standard icon used for the Length domain modifier on curve and surface parameters.
public static IIcon ModifierLengthDomain()

ModifierLowercase

#
Gets the standard icon used for the Lowercase modifier on text parameters.
public static IIcon ModifierLowercase()

ModifierNaturalDomain

#
Gets the standard icon used for the Natural domain modifier on curve and surface parameters.
public static IIcon ModifierNaturalDomain()

ModifierNegate

#
Gets the standard icon used for the Negation modifier on boolean parameters.
public static IIcon ModifierNegate()

ModifierNormalDomain

#
Gets the standard icon used for the Normalise modifier on curve and surface parameters.
public static IIcon ModifierNormalDomain()

ModifierNullToFalse

#
Gets the standard icon used for the Null -> False modifier on boolean parameters.
public static IIcon ModifierNullToFalse()

ModifierNullToTrue

#
Gets the standard icon used for the Null -> True modifier on boolean parameters.
public static IIcon ModifierNullToTrue()

ModifierRandomise

#
Gets the standard icon used for the Randomise modifier.
public static IIcon ModifierRandomise()

ModifierReduceAngles

#
Gets the standard icon used for the angle reduction modifier on angle parameters.
public static IIcon ModifierReduceAngles()

ModifierRemoveEmpty

#
Gets the standard icon used for the Modifiers.RemoveEmptyTwigs modifier.
public static IIcon ModifierRemoveEmpty()

ModifierRemoveInvalid

#
Gets the standard icon used for the Modifiers.RemoveInvalidItems modifier.
public static IIcon ModifierRemoveInvalid()

ModifierRemoveMetas

#
Gets the standard icon used for the Modifiers.RemoveMetaData modifier.
public static IIcon ModifierRemoveMetas()

ModifierRemoveNulls

#
Gets the standard icon used for the Modifiers.RemoveNullItems modifier.
public static IIcon ModifierRemoveNulls()

ModifierRenumber

#
Gets the standard icon used for the Modifiers.Renumber modifier.
public static IIcon ModifierRenumber()

ModifierReverse

#
Gets the standard icon used for the Modifiers.Reverse modifier.
public static IIcon ModifierReverse()

ModifierSimplify

#
Gets the standard icon used for the Modifiers.Simplify modifier.
public static IIcon ModifierSimplify()

ModifierSort

#
Gets the standard icon used for the Modifiers.Sort modifier.
public static IIcon ModifierSort()

ModifierTrim

#
Gets the standard icon used for the Modifiers.Trim modifier.
public static IIcon ModifierTrim()

ModifierUnitise

#
public static IIcon ModifierUnitise()

ModifierUppercase

#
Gets the standard icon used for the Uppercase modifier on text parameters.
public static IIcon ModifierUppercase()

ModifierWhitespace

#
Gets the standard icon used for the Wordcase modifier on text parameters.
public static IIcon ModifierWhitespace()

ModifierWordcase

#
Gets the standard icon used for the Wordcase modifier on text parameters.
public static IIcon ModifierWordcase()

PaddedIcon

#
Add padding around an icon.
public static IIcon PaddedIcon(
icon,
padding
)

ParameterAccess

#
Gets the icon for the given access.
public static IIcon ParameterAccess(
access
)

ParameterRepeat

#
Gets the icon for the given looping repeat method.
public static IIcon ParameterRepeat(
access
)

PenCapIcon

#
Gets the icon for the given pen style.
public static IIcon PenCapIcon(
PenLineCap
cap
)

PreviewIcon

#
Gets the default preview state icon.
public static IIcon PreviewIcon()

Snippet

#
Gets the icon associated with snippets.
public static IIcon Snippet()

SunMoon

#
Create the icon which toggles between Sun (state=1) and Moon (state=0) states.
public static IIcon SunMoon(
sun = null,
moon = null
)

Text

#
Create an icon which consists of some textual characters.
public static IIcon Text(
text,
Text.
colour,
Colour of text.
scale,
Text scaling.
bold,
Bold style.
italic
Italic style.
)
Text icon.

Text

#
Create an icon which consists of some textual characters.
public static IIcon Text(
text,
Text.
colour,
Colour of text.
scale
Text scaling.
)
Text icon.