|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.pptx.effects.PresetShadow
public class PresetShadow
Preset Shadow effect.
Each preset shadow is equivalent to a specific outer shadow effect. For each preset shadow, the color element, direction attribute, and distance attribute represent the color, direction, and distance parameters of the corresponding outer shadow. Additionally, the isRotateWithShape() of corresponding outer shadow is always false. Other non-default parameters of the outer shadow are dependent on the preset type.
Constructor Summary | |
---|---|
PresetShadow()
|
Method Summary | |
---|---|
float |
getDirection()
Returns the direction to offset the shadow. |
double |
getDistance()
Returns how far to offset the shadow. |
PresetShadowTypeEx |
getPreset()
Returns the preset type of the shadow. |
ColorFormatEx |
getShadowColor()
Returns the color format of the shadow. |
void |
setDirection(float value)
Sets the direction to offset the shadow. |
void |
setDistance(double value)
Sets how far to offset the shadow. |
void |
setPreset(PresetShadowTypeEx value)
Sets the preset type of the shadow. |
void |
setShadowColor(ColorFormatEx value)
Sets the color format of the shadow. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PresetShadow()
Method Detail |
---|
public float getDirection()
public void setDirection(float value)
public double getDistance()
public void setDistance(double value)
public ColorFormatEx getShadowColor()
public void setShadowColor(ColorFormatEx value)
public PresetShadowTypeEx getPreset()
public void setPreset(PresetShadowTypeEx value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |