ColorBalanceEffect(Int32, Int32, Int32) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new ColorBalanceEffect with the specified red, green, and blue values.
public:
ColorBalanceEffect(int cyanRed, int magentaGreen, int yellowBlue);
public ColorBalanceEffect (int cyanRed, int magentaGreen, int yellowBlue);
new System.Drawing.Imaging.Effects.ColorBalanceEffect : int * int * int -> System.Drawing.Imaging.Effects.ColorBalanceEffect
Public Sub New (cyanRed As Integer, magentaGreen As Integer, yellowBlue As Integer)
Parameters
- cyanRed
- Int32
Integer in the range -100 through 100 that specifies a change in the amount of red in the image. If the value is 0, there is no change. As the value moves from 0 to 100, the amount of red in the image increases and the amount of cyan decreases. As the value moves from 0 to -100, the amount of red in the image decreases and the amount of cyan increases.
- magentaGreen
- Int32
Integer in the range -100 through 100 that specifies a change in the amount of green in the image. If the value is 0, there is no change. As the value moves from 0 to 100, the amount of green in the image increases and the amount of magenta decreases. As the value moves from 0 to -100, the amount of green in the image decreases and and the amount of magenta increases.
- yellowBlue
- Int32
Integer in the range -100 through 100 that specifies a change in the amount of blue in the image. If the value is 0, there is no change. As the value moves from 0 to 100, the amount of blue in the image increases and the amount of yellow decreases. As the value moves from 0 to -100, the amount of blue in the image decreases and the amount of yellow increases.
Exceptions
Applies to
.NET