public class ImageAppearance extends SignatureAppearance
Describes extended appearance features for Image Signature.
| Constructor and Description |
|---|
ImageAppearance()
Create instance with default values.
|
| Modifier and Type | Method and Description |
|---|---|
float |
getBrightness()
Gets or sets image brightness.
|
float |
getContrast()
Gets or sets image contrast.
|
float |
getGammaCorrection()
Gets or sets image gamma.
|
boolean |
getGrayscale()
Setup this flag to true if gray-scale filter is required.
|
void |
setBrightness(float value)
Gets or sets image brightness.
|
void |
setContrast(float value)
Gets or sets image contrast.
|
void |
setGammaCorrection(float value)
Gets or sets image gamma.
|
void |
setGrayscale(boolean value)
Setup this flag to true if gray-scale filter is required.
|
toStringpublic final float getBrightness()
Gets or sets image brightness. Default value is 1 it corresponds to original brightness of image.
public final float getContrast()
Gets or sets image contrast. Default value is 1 it corresponds to original contrast of image.
public final float getGammaCorrection()
Gets or sets image gamma. Default value is 1 it corresponds to original gamma of image.
public final boolean getGrayscale()
Setup this flag to true if gray-scale filter is required.
public final void setBrightness(float value)
Gets or sets image brightness. Default value is 1 it corresponds to original brightness of image.
public final void setContrast(float value)
Gets or sets image contrast. Default value is 1 it corresponds to original contrast of image.
public final void setGammaCorrection(float value)
Gets or sets image gamma. Default value is 1 it corresponds to original gamma of image.
public final void setGrayscale(boolean value)
Setup this flag to true if gray-scale filter is required.
Copyright © 2024. All rights reserved.