Color Members

The Color type exposes the following members.

Constructors

  NameDescription
Public methodColor
Constructor that takes the red, green and blue channels of the color.

Methods

  NameDescription
Public methodDispose
Causes the object to release immediately any resources it may be utilizing.
(Inherited from APIObject.)
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)

Properties

  NameDescription
Public propertyBlue
Get the blue channel of the color. Setting a channel is obsolete in Autodesk Revit 2013. Please create a new color instead.
Public propertyGreen
Get the green channel of the color. Setting a channel is obsolete in Autodesk Revit 2013. Please create a new color instead.
Public propertyStatic memberInvalidColorValue
Get the invalid Color whose IntegerValue is -1.
Public propertyIsReadOnly
Identifies if the object is read-only or modifiable.
(Inherited from APIObject.)
Public propertyIsValid
Identifies if the color represents a valid color, or an uninitialized/invalid value.
Public propertyRed
Get the red channel of the color. Setting a channel is obsolete in Autodesk Revit 2013. Please create a new color instead.

See Also