public final class EmfPlusTintEffect extends EmfPlusImageEffectsObjectType
The TintEffect object specifies an addition of black or white to a specified hue in an image.
Constructor and Description |
---|
EmfPlusTintEffect() |
Modifier and Type | Method and Description |
---|---|
int |
getAmount()
Gets or sets A 32-bit signed integer that specifies how much the hue is strengthened or weakened.
|
int |
getHue()
Gets or sets a 32-bit signed integer that specifies the hue to which the tint effect is applied.
|
void |
setAmount(int value)
Gets or sets A 32-bit signed integer that specifies how much the hue is strengthened or weakened.
|
void |
setHue(int value)
Gets or sets a 32-bit signed integer that specifies the hue to which the tint effect is applied.
|
public int getHue()
Gets or sets a 32-bit signed integer that specifies the hue to which the tint effect is applied. -180 ≤ value < 0 The color at a specified counter-clockwise rotation of the color wheel, starting from blue. 0 A value of 0 specifies the color blue on the color wheel. 0 < value ≤ 180 The color at a specified clockwise rotation of the color wheel, starting from blue
public void setHue(int value)
Gets or sets a 32-bit signed integer that specifies the hue to which the tint effect is applied. -180 ≤ value < 0 The color at a specified counter-clockwise rotation of the color wheel, starting from blue. 0 A value of 0 specifies the color blue on the color wheel. 0 < value ≤ 180 The color at a specified clockwise rotation of the color wheel, starting from blue
public int getAmount()
Gets or sets A 32-bit signed integer that specifies how much the hue is strengthened or weakened. -100 ≤ value < 0 Negative values specify how much the hue is weakened, which equates to the addition of black. 0 A value of 0 specifies that the tint MUST NOT change. 0 < value ≤ 100 Positive values specify how much the hue is strengthened, which equates to the addition of white.
Value: The amount.public void setAmount(int value)
Gets or sets A 32-bit signed integer that specifies how much the hue is strengthened or weakened. -100 ≤ value < 0 Negative values specify how much the hue is weakened, which equates to the addition of black. 0 A value of 0 specifies that the tint MUST NOT change. 0 < value ≤ 100 Positive values specify how much the hue is strengthened, which equates to the addition of white.
Value: The amount.