Gets the brightness of the picture. The value for this property must be a number from 0.0 (dimmest) to 1.0 (brightest).
Returns:
double - The default value is 0.5.
setBrightness(double value)
public final void setBrightness(double value)
Sets the brightness of the picture. The value for this property must be a number from 0.0 (dimmest) to 1.0 (brightest).
Parameters:
Parameter
Type
Description
value
double
The default value is 0.5.
getContrast()
public final double getContrast()
Gets the contrast for the specified picture. The value for this property must be a number from 0.0 (the least contrast) to 1.0 (the greatest contrast).
Returns:
double - The default value is 0.5.
setContrast(double value)
public final void setContrast(double value)
Sets the contrast for the specified picture. The value for this property must be a number from 0.0 (the least contrast) to 1.0 (the greatest contrast).
Parameters:
Parameter
Type
Description
value
double
The default value is 0.5.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.