public final class EmfPlusColorBalanceEffect extends EmfPlusImageEffectsObjectType
The ColorBalanceEffect object specifies adjustments to the relative amounts of red, green, and blue in an image.
Constructor and Description |
---|
EmfPlusColorBalanceEffect() |
Modifier and Type | Method and Description |
---|---|
int |
getCyanRed()
Gets or sets a 32-bit signed integer that specifies a change in the amount of red in the
image.
|
int |
getMagentaGreen()
Gets or sets a 32-bit signed integer that specifies a change in the amount of
green in the image.
|
int |
getYellowBlue()
Gets or sets a 32-bit signed integer that specifies a change in the amount of blue in
the image.
|
void |
setCyanRed(int value)
Gets or sets a 32-bit signed integer that specifies a change in the amount of red in the
image.
|
void |
setMagentaGreen(int value)
Gets or sets a 32-bit signed integer that specifies a change in the amount of
green in the image.
|
void |
setYellowBlue(int value)
Gets or sets a 32-bit signed integer that specifies a change in the amount of blue in
the image.
|
public int getCyanRed()
Gets or sets a 32-bit signed integer that specifies a change in the amount of red in the image. This value MUST be in the range -100 through 100, with effects as follows: -100 ≤ value < 0 As the value decreases, the amount of red in the image SHOULD decrease and the amount of cyan SHOULD increase. 0 A value of 0 specifies that the amounts of red and cyan MUST NOT change. 0 < value ≤ 100 As the value increases, the amount of red in the image SHOULD increase and the amount of cyan SHOULD decrease.
public void setCyanRed(int value)
Gets or sets a 32-bit signed integer that specifies a change in the amount of red in the image. This value MUST be in the range -100 through 100, with effects as follows: -100 ≤ value < 0 As the value decreases, the amount of red in the image SHOULD decrease and the amount of cyan SHOULD increase. 0 A value of 0 specifies that the amounts of red and cyan MUST NOT change. 0 < value ≤ 100 As the value increases, the amount of red in the image SHOULD increase and the amount of cyan SHOULD decrease.
public int getMagentaGreen()
Gets or sets a 32-bit signed integer that specifies a change in the amount of green in the image. This value MUST be in the range -100 through 100, with effects as follows: -100 ≤ value < 0 As the value decreases, the amount of green in the image SHOULD decrease and the amount of magenta SHOULD increase. 0 A value of 0 specifies that the amounts of green and magenta MUST NOT change. 0 < value ≤ 100 As the value increases, the amount of green in the image SHOULD increase and the amount of magenta SHOULD decrease.
public void setMagentaGreen(int value)
Gets or sets a 32-bit signed integer that specifies a change in the amount of green in the image. This value MUST be in the range -100 through 100, with effects as follows: -100 ≤ value < 0 As the value decreases, the amount of green in the image SHOULD decrease and the amount of magenta SHOULD increase. 0 A value of 0 specifies that the amounts of green and magenta MUST NOT change. 0 < value ≤ 100 As the value increases, the amount of green in the image SHOULD increase and the amount of magenta SHOULD decrease.
public int getYellowBlue()
Gets or sets a 32-bit signed integer that specifies a change in the amount of blue in the image. This value MUST be in the range -100 through 100, with effects as follows: -100 ≤ value < 0 As the value decreases, the amount of blue in the image SHOULD decrease and the amount of yellow SHOULD increase. 0 A value of 0 specifies that the amounts of blue and yellow MUST NOT change. 0 < value ≤ 100 As the value increases, the amount of blue in the image SHOULD increase and the amount of yellow SHOULD decrease.
public void setYellowBlue(int value)
Gets or sets a 32-bit signed integer that specifies a change in the amount of blue in the image. This value MUST be in the range -100 through 100, with effects as follows: -100 ≤ value < 0 As the value decreases, the amount of blue in the image SHOULD decrease and the amount of yellow SHOULD increase. 0 A value of 0 specifies that the amounts of blue and yellow MUST NOT change. 0 < value ≤ 100 As the value increases, the amount of blue in the image SHOULD increase and the amount of yellow SHOULD decrease.