Color Methods

Color Methods

Public MethodEqualsOverloaded. Tests two colors to see if they are the same.
Public Method StaticFromNonPremultipliedOverloaded. Converts a non-premultipled alpha color to a color that contains premultiplied alpha.
Public MethodGetHashCodeServes as a hash function for a particular type.
Public MethodGetType(Inherited from Object.)
Public Method StaticLerpLinearly interpolate a color.
Public Method StaticMultiplyMultiply each color component by the scale factor.
Public Method Staticop_EqualityEquality operator.
Public Method Staticop_InequalityEquality operator for Testing two color objects to see if they are equal.
Public Method Staticop_MultiplyMultiply operator.
Public MethodToStringGets a string representation of this object.
Public MethodToVector3Gets a three-component vector representation for this object.
Public MethodToVector4Gets a four-component vector representation for this object.

Protected MethodFinalize(Inherited from Object.)
Protected MethodMemberwiseClone(Inherited from Object.)

Explicit Interface ImplementationMethodMicrosoft.Xna.Framework.Graphics.PackedVector.IPackedVector.PackFromVector4Pack a four-component color from a vector format into the format of a color object.

Community Additions

© 2016 Microsoft