public final class EmfPlusBrightnessContrastEffect extends EmfPlusImageEffectsObjectType
The BrightnessContrastEffect object specifies an expansion or contraction of the lightest and darkest areas of an image.
Constructor and Description |
---|
EmfPlusBrightnessContrastEffect() |
Modifier and Type | Method and Description |
---|---|
int |
getBrightnessLevel()
Gets or sets a 32-bit signed integer that specifies the brightness level.
|
int |
getContrastLevel()
Gets or sets a 32-bit signed integer that specifies the contrast level.
|
void |
setBrightnessLevel(int value)
Gets or sets a 32-bit signed integer that specifies the brightness level.
|
void |
setContrastLevel(int value)
Gets or sets a 32-bit signed integer that specifies the contrast level.
|
public int getBrightnessLevel()
Gets or sets a 32-bit signed integer that specifies the brightness level. This value MUST be in the range -255 through 255, with effects as follows: -255 ≤ value < 0 As the value decreases, the brightness of the image SHOULD decrease. 0 A value of 0 specifies that the brightness MUST NOT change. 0 < value ≤ 255 As the value increases, the brightness of the image SHOULD increase.
public void setBrightnessLevel(int value)
Gets or sets a 32-bit signed integer that specifies the brightness level. This value MUST be in the range -255 through 255, with effects as follows: -255 ≤ value < 0 As the value decreases, the brightness of the image SHOULD decrease. 0 A value of 0 specifies that the brightness MUST NOT change. 0 < value ≤ 255 As the value increases, the brightness of the image SHOULD increase.
public int getContrastLevel()
Gets or sets a 32-bit signed integer that specifies the contrast level. This value MUST be in the range -100 through 100, with effects as follows: -100 ≤ value < 0 As the value decreases, the contrast of the image SHOULD decrease. 0 A value of 0 specifies that the contrast MUST NOT change. 0 < value ≤ 100 As the value increases, the contrast of the image SHOULD increase.
public void setContrastLevel(int value)
Gets or sets a 32-bit signed integer that specifies the contrast level. This value MUST be in the range -100 through 100, with effects as follows: -100 ≤ value < 0 As the value decreases, the contrast of the image SHOULD decrease. 0 A value of 0 specifies that the contrast MUST NOT change. 0 < value ≤ 100 As the value increases, the contrast of the image SHOULD increase.