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 |
---|---|
Color |
getBorderColor()
Gets or sets the border color of image.
|
int |
getBorderDashStyle()
Gets or sets the Image border style.
|
int |
getBorderWeight()
Gets or sets the weight of the image border.
|
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.
|
boolean |
hasBcgFilter() |
boolean |
hasBorderFilter() |
boolean |
hasGrayscaleFilter() |
void |
setBorderColor(Color value)
Gets or sets the border color of image.
|
void |
setBorderDashStyle(int value)
Gets or sets the Image border style.
|
void |
setBorderWeight(int value)
Gets or sets the weight of the image border.
|
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.
|
toString
public boolean getGrayscale()
Setup this flag to true if gray-scale filter is required.
public void setGrayscale(boolean value)
Setup this flag to true if gray-scale filter is required.
public float getBrightness()
Gets or sets image brightness. Default value is 1 it corresponds to original brightness of image.
public void setBrightness(float value)
Gets or sets image brightness. Default value is 1 it corresponds to original brightness of image.
public float getContrast()
Gets or sets image contrast. Default value is 1 it corresponds to original contrast of image.
public void setContrast(float value)
Gets or sets image contrast. Default value is 1 it corresponds to original contrast of image.
public float getGammaCorrection()
Gets or sets image gamma. Default value is 1 it corresponds to original gamma of image.
public void setGammaCorrection(float value)
Gets or sets image gamma. Default value is 1 it corresponds to original gamma of image.
public Color getBorderColor()
Gets or sets the border color of image. If this property is not null border will appear on image.
public void setBorderColor(Color value)
Gets or sets the border color of image. If this property is not null border will appear on image.
public int getBorderDashStyle()
Gets or sets the Image border style.
public void setBorderDashStyle(int value)
Gets or sets the Image border style.
public int getBorderWeight()
Gets or sets the weight of the image border.
public void setBorderWeight(int value)
Gets or sets the weight of the image border.
public boolean hasBorderFilter()
public boolean hasGrayscaleFilter()
public boolean hasBcgFilter()
Copyright © 2017. All rights reserved.