Color4f
Color defined by 4 floating point values.
Namespace: Rhino.Display
Assembly: RhinoCommon (in RhinoCommon.dll)
Syntax
[SerializableAttribute]public struct Color4f : ISerializable
The Color4f type exposes the following members.
Constructors
Name
Description
Public Method
Color4f(Color)
Initializes a new instance of the Color4f class
Public Method
Color4f(Color4f)
Initializes a new instance of the Color4f class
Public Method
Color4f(Int32)
Initializes a new instance of the Color4f class
Public Method
Color4f(Single, Single, Single, Single)
Initializes a new instance of the Color4f class
Properties
Name
Description
Public Property
A
Public Property
B
Public Property
Static Member
Black
Public Property
Static Member
Empty
Public Property
G
Public Property
L
Public Property
R
Public Property
Static Member
White
Methods
Name
Description
Public Method
Static Member
ApplyGamma
Public Method
AsSystemColor
Public Method
BlendTo
Public Method
Equals
(Overrides ValueType.Equals(Object).)
Public Method
Static Member
FromArgb(Single, Color4f)
Public Method
Static Member
FromArgb(Single, Single, Single, Single)
Public Method
GetHashCode
(Overrides ValueType.GetHashCode..)
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public Method
ToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Operators
Name
Description
Public Operator
Static Member
Equality
Public Operator
Static Member
Inequality