Click or drag to resize
ColorW Structure
Implements RGBA color structure

Namespace: EmptyKeys.UserInterface.Media
Assembly: EmptyKeys.UserInterface.Core (in EmptyKeys.UserInterface.Core.dll) Version: 2.5.0.0 (2.5.0.0)
Syntax
C#
public struct ColorW : IEquatable<ColorW>

The ColorW type exposes the following members.

Constructors
  NameDescription
Public methodColorW(UInt32)
Initializes a new instance of the ColorW class.
Public methodColorW(Int32, Int32, Int32)
Initializes a new instance of the ColorW struct.
Public methodColorW(Single, Single, Single)
Initializes a new instance of the ColorW struct.
Public methodColorW(Int32, Int32, Int32, Int32)
Initializes a new instance of the ColorW class.
Public methodColorW(Single, Single, Single, Single)
Initializes a new instance of the ColorW struct.
Top
Properties
  NameDescription
Public propertyA
Gets or sets alpha
Public propertyB
Gets or sets the blue component
Public propertyStatic memberBlack
Gets the black color
Public propertyG
Gets or sets the green component
Public propertyPackedValue
Gets or sets the packed value of the color
Public propertyR
Gets or sets the red component
Public propertyStatic memberTransparentBlack
Gets the transparent black color
Public propertyStatic memberWhite
Gets the white Color
Top
Methods
  NameDescription
Public methodEquals(Object)
Determines whether the specified Object, is equal to this instance.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(ColorW)
Indicates whether the current object is equal to another object of the same type.
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberLerp
Lerp between value1 and value2 by amount
Public methodToString
Returns a String that represents this instance.
(Overrides ValueTypeToString.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Implements the operator ==.
Public operatorStatic memberInequality
Implements the operator !=.
Public operatorStatic memberMultiply
Implements the operator *.
Top
See Also