|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.powerml.structures.styles.ShadowStyle
This class defines the properties of a shape's shadow.
| Field Summary | |
static byte |
TYPE_DOUBLE
Doube shadow |
static byte |
TYPE_EMBOSS_ENGRAVE
Embossed/engraved shadow |
static byte |
TYPE_OFFSET
Offset shadow |
static byte |
TYPE_RICH
Rich shadow |
| Method Summary | |
void |
addXml(org.dom4j.Element parent,
int roundPrecision)
Transforms current instance to XML and adds it to a parent element. |
RGBColor |
getColor()
Returns the shadow's color. |
RGBColor |
getHighlightColor()
Returns the shadow's highlight color. |
double |
getOffsetX()
Returns the x offset in pmu (PowerPoint master units, 576 pmu = 1"). |
double |
getOffsetY()
Returns the y offset in pmu (PowerPoint master units, 576 pmu = 1"). |
double |
getOriginX()
Returns the x coordinate of the shadow's origin, relative to the shape's width (between 0 and 1). 0 means left edge, 1 means right edge. |
double |
getOriginY()
Returns the y coordinate of the shadow's origin, relative to the shape's height (between 0 and 1). 0 means top edge, 1 means bottom edge. |
int |
getPerspectiveX()
Perspective scaling factor in x direction. |
int |
getPerspectiveY()
Perspective scaling factor in y direction. |
double |
getScaleXToX()
x to x scaling factor. |
double |
getScaleXToY()
x to y scaling factor. |
double |
getScaleYToX()
y to x scaling factor. |
double |
getScaleYToY()
y to y scaling factor. |
double |
getSecondOffsetX()
Returns the x coordinate of the second offset (only relevant for double shadows). |
double |
getSecondOffsetY()
Returns the y coordinate of the second offset (only relevant for double shadows). |
short |
getTransparency()
Returns the shadow's transparency (in percent). |
byte |
getType()
Returns the shadow's type (see TYPE_.. |
int |
getWeight()
Returns the perspective weight (x and y perspective values are divided by this). |
boolean |
isActive()
Checks if the shape has a shadow. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final byte TYPE_DOUBLE
public static final byte TYPE_EMBOSS_ENGRAVE
public static final byte TYPE_OFFSET
public static final byte TYPE_RICH
| Method Detail |
public void addXml(org.dom4j.Element parent,
int roundPrecision)
parent - parent elementroundPrecision - rounding precisionpublic RGBColor getColor()
public RGBColor getHighlightColor()
public double getOffsetX()
public double getOffsetY()
public double getOriginX()
public double getOriginY()
public int getPerspectiveX()
getWeight()).
public int getPerspectiveY()
getWeight()).
public double getScaleXToX()
public double getScaleXToY()
public double getScaleYToX()
public double getScaleYToY()
public double getSecondOffsetX()
public double getSecondOffsetY()
public short getTransparency()
public byte getType()
TYPE_.. constants).
public int getWeight()
public boolean isActive()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||