Color4f Structure

Color4f Structure

Color defined by 4 floating point values.

Namespace:  Rhino.Display
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
[SerializableAttribute]
public struct Color4f : ISerializable
<SerializableAttribute>
Public Structure Color4f
	Implements ISerializable

The Color4f type exposes the following members.

Constructors
  NameDescription
Public methodColor4f(Color)
Initializes a new instance of the Color4f class
Public methodColor4f(Int32)
Initializes a new instance of the Color4f class
Public methodColor4f(Color4f)
Initializes a new instance of the Color4f class
Public methodColor4f(Single, Single, Single, Single)
Initializes a new instance of the Color4f class
Top
Properties
  NameDescription
Public propertyA
Public propertyB
Public propertyStatic memberBlack
Public propertyStatic memberEmpty
Public propertyG
Public propertyL
Public propertyR
Public propertyStatic memberWhite
Top
Methods
  NameDescription
Public methodStatic memberApplyGamma
Public methodAsSystemColor
Public methodBlendTo
Public methodEquals (Overrides ValueTypeEquals(Object).)
Public methodStatic memberFromArgb(Single, Color4f)
Public methodStatic memberFromArgb(Single, Single, Single, Single)
Public methodGetHashCode (Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Public operatorStatic memberInequality
Top
See Also