Microsoft DirectX 9.0 SDK Update (October 2004)

ColorOperator Class

Language:

Note: This documentation is preliminary and is subject to change.

Contains methods for manipulating colors.

Definition

Visual Basic .NET NotInheritable Public Class ColorOperator
   Inherits Object 
C# public sealed class ColorOperator : Object
Managed C++ public __gc __sealed class ColorOperator  : public Object
JScript .NET public class ColorOperator extends Object

Members Table

Method Description
static (Shared in Visual Basic .NET) Add Adds two color values together to create a new color value.
static (Shared in Visual Basic .NET) AdjustContrast Adjusts the contrast value of a color.
static (Shared in Visual Basic .NET) AdjustSaturation Adjusts the saturation value of a color.
static (Shared in Visual Basic .NET) Lerp Creates a color value using linear interpolation.
static (Shared in Visual Basic .NET) Modulate Blends two colors.
static (Shared in Visual Basic .NET) Negative Creates a negative color value from a given color value.
static (Shared in Visual Basic .NET) Scale Scales a color value.
static (Shared in Visual Basic .NET) 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.2902.0,  Culture=neutral,  PublicKeyToken=31bf3856ad364e35

© 2004 Microsoft Corporation. All rights reserved. Terms of use.

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