Click or drag to resize

ModelColor Structure

Represents a color stored on a model.

Namespace:  Grasshopper.Rhinoceros
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public struct ModelColor : IGH_Goo, 
	IFormattable, IEquatable<ModelColor>, IComparable, IComparable<ModelColor>

The ModelColor type exposes the following members.

Methods
  NameDescription
Public methodCastToT
Public methodCompareTo
Public methodEquals(ModelColor)
Public methodEquals(Object) (Overrides ValueTypeEquals(Object).)
Public methodStatic memberFromArgb(Int32)
Public methodStatic memberFromArgb(Byte, Byte, Byte)
Public methodStatic memberFromArgb(Byte, Byte, Byte, Byte)
Public methodGetHashCode (Overrides ValueTypeGetHashCode.)
Public methodToArgb
Public methodToString (Overrides ValueTypeToString.)
Top
Operators
Remarks
This is an opaque representation of a color with conversion methods to and from other color types.
See Also