Represents an ARGB colour. GH_Colour re-implements the framework System.Drawing.Color type.
Constructors
Fields
m_value
protected T m_value
Properties
IsValidWhyNot
#Gets a string describing the state of "invalidness". If the instance is valid, then this property should return Nothing or String.Empty.
Overrides: GH_Goo<T>.IsValidWhyNot
QC_Type
#[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public GH_QuickCastType QC_Type { get; }
Implements: QC_Type
Value
public virtual T Value { get; set; }
Gets or sets the internal data.
Methods
CastFrom
#Parameters:
| source (object) |
Overrides: GH_Goo<T>.CastFrom
ScriptVariable
This function will be called when the local IGH_Goo instance disappears into a user Script. This would be an excellent place to cast your IGH_Goo type to a simple data type.
Returns: The default implementation of this function returns the Value instance.
Implements: ScriptVariable