ColorOperator Class

Language:

Contains methods for manipulating colors.

Definition

Visual Basic NotInheritable MustInherit Public Class ColorOperator
    Inherits Object
C# public abstract sealed class ColorOperator : Object
C++ public ref class ColorOperator abstract sealed : Object
JScript public final abstract class ColorOperator extends Object

Members Table

Method Description
static (Shared in Visual Basic) Add Adds two color values together to create a new color value.
static (Shared in Visual Basic) AdjustContrast Adjusts the contrast value of a color.
static (Shared in Visual Basic) AdjustSaturation Adjusts the saturation value of a color.
static (Shared in Visual Basic) Lerp Creates a color value using linear interpolation.
static (Shared in Visual Basic) Modulate Blends two colors.
static (Shared in Visual Basic) Negative Creates a negative color value from a given color value.
static (Shared in Visual Basic) Scale Scales a color value.
static (Shared in Visual Basic) Subtract Subtracts two color values to create a new color value.

Inheritance Hierarchy

Object Leave Site
ColorOperator

Class Information

Namespace Microsoft.DirectX.Direct3D
Assembly Microsoft.DirectX.Direct3DX (microsoft.directx.direct3dx.dll)
Strong Name Microsoft.DirectX.Direct3DX,  Version=1.0.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492

Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center