|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.powerml.structures.styles.PictureModifier
Represents transformations applied to images.
| Field Summary | |
static byte |
BLACK_AND_WHITE
Black and white (use as color adjustment) |
static byte |
COLORED
Default color level - colored |
static byte |
GRAYSCALE
Greyscale (use as color adjustment) |
| Method Summary | |
void |
addXml(org.dom4j.Element parent,
int roundPrecision)
Transforms current instance to XML and adds it to a parent element. |
short |
getBrightnessAdjust()
Returns the brightness adjustment value (between -50 and 50). |
byte |
getColorLevel()
Returns the color level. |
short |
getContrastAdjust()
Returns the contrast adjustment value (between -50 and 50). |
double |
getCropBottom()
Returns the amount trimmed off the bottom of the picture, relative to the picture's height (between 0 and 1). |
double |
getCropLeft()
Returns the amount trimmed off the left side of the picture, relative to the picture's width (between 0 and 1). |
double |
getCropRight()
Returns the amount trimmed off the right side of the picture, relative to the picture's width (between 0 and 1). |
double |
getCropTop()
Returns the amount trimmed off the top of the picture, relative to the picture's height (between 0 and 1). |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final byte BLACK_AND_WHITE
public static final byte COLORED
public static final byte GRAYSCALE
| Method Detail |
public void addXml(org.dom4j.Element parent,
int roundPrecision)
parent - parent elementroundPrecision - rounding precisionpublic short getBrightnessAdjust()
public byte getColorLevel()
COLORED (default), GRAYSCALE and
BLACK_AND_WHITE.
public short getContrastAdjust()
public double getCropBottom()
public double getCropLeft()
public double getCropRight()
public double getCropTop()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||