ImageAppearance
Leave feedback
On this page
Inheritance: java.lang.Object, com.groupdocs.signature.options.appearances.SignatureAppearance
public class ImageAppearance extends SignatureAppearance
Describes extended appearance features for Image Signature.
| Constructor | Description |
|---|---|
| ImageAppearance() | Create instance with default values. |
| Method | Description |
|---|---|
| getGrayscale() | Setup this flag to true if gray-scale filter is required. |
| setGrayscale(boolean value) | Setup this flag to true if gray-scale filter is required. |
| getBrightness() | Gets or sets image brightness. |
| setBrightness(float value) | Gets or sets image brightness. |
| getContrast() | Gets or sets image contrast. |
| setContrast(float value) | Gets or sets image contrast. |
| getGammaCorrection() | Gets or sets image gamma. |
| setGammaCorrection(float value) | Gets or sets image gamma. |
public ImageAppearance()
Create instance with default values.
public final boolean getGrayscale()
Setup this flag to true if gray-scale filter is required.
Returns: boolean
public final void setGrayscale(boolean value)
Setup this flag to true if gray-scale filter is required.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean |
public final float getBrightness()
Gets or sets image brightness. Default value is 1 it corresponds to original brightness of image.
Returns: float
public final void setBrightness(float value)
Gets or sets image brightness. Default value is 1 it corresponds to original brightness of image.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | float |
public final float getContrast()
Gets or sets image contrast. Default value is 1 it corresponds to original contrast of image.
Returns: float
public final void setContrast(float value)
Gets or sets image contrast. Default value is 1 it corresponds to original contrast of image.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | float |
public final float getGammaCorrection()
Gets or sets image gamma. Default value is 1 it corresponds to original gamma of image.
Returns: float
public final void setGammaCorrection(float value)
Gets or sets image gamma. Default value is 1 it corresponds to original gamma of image.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | float |
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.