com.aspose.slides.pptx.effects
Class PresetShadow

java.lang.Object
  extended by com.aspose.slides.pptx.effects.PresetShadow

public class PresetShadow
extends java.lang.Object

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

PresetShadow

public PresetShadow()
Method Detail

getDirection

public float getDirection()
Returns the direction to offset the shadow.


setDirection

public void setDirection(float value)
Sets the direction to offset the shadow.


getDistance

public double getDistance()
Returns how far to offset the shadow.


setDistance

public void setDistance(double value)
Sets how far to offset the shadow.


getShadowColor

public ColorFormatEx getShadowColor()
Returns the color format of the shadow.


setShadowColor

public void setShadowColor(ColorFormatEx value)
Sets the color format of the shadow.


getPreset

public PresetShadowTypeEx getPreset()
Returns the preset type of the shadow.


setPreset

public void setPreset(PresetShadowTypeEx value)
Sets the preset type of the shadow.