EmfPlusColorBalanceEffect

Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject, com.aspose.imaging.fileformats.emf.emfplus.objects.EmfPlusObject, com.aspose.imaging.fileformats.emf.emfplus.objects.EmfPlusImageEffectsObjectType

public final class EmfPlusColorBalanceEffect extends EmfPlusImageEffectsObjectType

The ColorBalanceEffect object specifies adjustments to the relative amounts of red, green, and blue in an image.

Constructors

ConstructorDescription
EmfPlusColorBalanceEffect()

Methods

MethodDescription
getCyanRed()Gets or sets a 32-bit signed integer that specifies a change in the amount of red in the image.
setCyanRed(int value)Gets or sets a 32-bit signed integer that specifies a change in the amount of red in the image.
getMagentaGreen()Gets or sets a 32-bit signed integer that specifies a change in the amount of green in the image.
setMagentaGreen(int value)Gets or sets a 32-bit signed integer that specifies a change in the amount of green in the image.
getYellowBlue()Gets or sets a 32-bit signed integer that specifies a change in the amount of blue in the image.
setYellowBlue(int value)Gets or sets a 32-bit signed integer that specifies a change in the amount of blue in the image.

EmfPlusColorBalanceEffect()

public EmfPlusColorBalanceEffect()

getCyanRed()

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 \u2264 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 \u2264 100 As the value increases, the amount of red in the image SHOULD increase and the amount of cyan SHOULD decrease.

Returns: int

setCyanRed(int value)

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 \u2264 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 \u2264 100 As the value increases, the amount of red in the image SHOULD increase and the amount of cyan SHOULD decrease.

Parameters:

ParameterTypeDescription
valueint

getMagentaGreen()

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 \u2264 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 \u2264 100 As the value increases, the amount of green in the image SHOULD increase and the amount of magenta SHOULD decrease.

Returns: int

setMagentaGreen(int value)

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 \u2264 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 \u2264 100 As the value increases, the amount of green in the image SHOULD increase and the amount of magenta SHOULD decrease.

Parameters:

ParameterTypeDescription
valueint

getYellowBlue()

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 \u2264 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 \u2264 100 As the value increases, the amount of blue in the image SHOULD increase and the amount of yellow SHOULD decrease.

Returns: int

setYellowBlue(int value)

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 \u2264 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 \u2264 100 As the value increases, the amount of blue in the image SHOULD increase and the amount of yellow SHOULD decrease.

Parameters:

ParameterTypeDescription
valueint