Click or drag to resize
DigitalRuneColorTraits Class
Describes the properties of a Color. (Only available in the XNA-compatible build.)
Inheritance Hierarchy
SystemObject
  DigitalRuneSingletonColorTraits
    DigitalRune.Animation.TraitsColorTraits

Namespace: DigitalRune.Animation.Traits
Assembly: DigitalRune.Animation (in DigitalRune.Animation.dll) Version: 1.4.0.0 (1.4.1.14427)
Syntax
public class ColorTraits : Singleton<ColorTraits>, 
	IAnimationValueTraits<Color>

The ColorTraits type exposes the following members.

Constructors
  NameDescription
Public methodColorTraits
Initializes a new instance of the ColorTraits class
Top
Methods
  NameDescription
Public methodAdd
Adds the given animation values.
Public methodBeginBlend
Begins the interpolation of n animation values.
Public methodBlendNext
Blends the given animation value to the current value.
Public methodCopy
Copies the specified animation value.
Public methodCreate
Creates an animation value. (If the animation value is a heap object, then method reuses any previously recycled instance or allocates a new instance if necessary.)
Public methodEndBlend
Finalizes the interpolation of n animation values.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInterpolate
Performs a linear interpolation between two animation values.
Public methodInvert
Gets the inverse of an animation value.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMultiply
Multiplies an animation value by a given factor.
Public methodRecycle
Recycles an animation value.
Public methodReset
Public methodSet
Public methodSetIdentity
Gets the identity.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks
This type is available only in the XNA-compatible build of the DigitalRune.Animations.dll.
See Also