ColorBalance class (gdipluseffects.h)
The ColorBalance class enables you to change the color balance (relative amounts of red, green, and blue) of a bitmap. Pass the address of a ColorBalance object to the Graphics::DrawImage method or to the Bitmap::ApplyEffect method. To specify the nature of the change, pass the address of a ColorBalanceParams structure to the ColorBalance::SetParameters method of a ColorBalance object.
Inheritance
The ColorBalance class implements Effect.
Methods
The ColorBalance class has these methods.
ColorBalance::ColorBalance Creates a new ColorBalance object. |
ColorBalance::GetParameters The ColorBalance::GetParameters method gets the current values of the parameters of this ColorBalance object. |
ColorBalance::SetParameters The ColorBalance::SetParameters method sets the parameters of this ColorBalance object. |
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | gdipluseffects.h |