public final class OuterShadow extends java.lang.Object implements IOuterShadow, java.lang.Cloneable
Represents an Outer Shadow effect.
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Determines whether the specified
OuterShadow is equal to the current OuterShadow. |
double |
getBlurRadius()
Blur radius, in points.
|
float |
getDirection()
Direction of the shadow, in degrees.
|
double |
getDistance()
Distance of the shadow from the object, in points.
|
IOuterShadowEffectiveData |
getEffective()
Gets effective Outer Shadow effect data with the inheritance applied.
|
com.aspose.slides.IDOMObject |
getParent_Immediate()
Returns Parent_Immediate object.
|
IPresentationComponent |
getParent_IPresentationComponent()
Returns parent IPresentationComponent.
|
byte |
getRectangleAlign()
Rectangle alignment.
|
boolean |
getRotateShadowWithShape()
Indicates whether the shadow rotates together with the shape.
|
double |
getScaleHorizontal()
Horizontal scaling factor, in percent of the original size.
|
double |
getScaleVertical()
Vertical scaling factor, in percent of the original size.
|
IColorFormat |
getShadowColor()
Color of the shadow.
|
double |
getSkewHorizontal()
Horizontal skew angle, in degrees.
|
double |
getSkewVertical()
Vertical skew angle, in degrees.
|
long |
getVersion()
Version.
|
int |
hashCode()
Serves as a hash function for a particular type.
|
void |
setBlurRadius(double value)
Blur radius, in points.
|
void |
setDirection(float value)
Direction of the shadow, in degrees.
|
void |
setDistance(double value)
Distance of the shadow from the object, in points.
|
void |
setRectangleAlign(byte value)
Rectangle alignment.
|
void |
setRotateShadowWithShape(boolean value)
Indicates whether the shadow rotates together with the shape.
|
void |
setScaleHorizontal(double value)
Horizontal scaling factor, in percent of the original size.
|
void |
setScaleVertical(double value)
Vertical scaling factor, in percent of the original size.
|
void |
setSkewHorizontal(double value)
Horizontal skew angle, in degrees.
|
void |
setSkewVertical(double value)
Vertical skew angle, in degrees.
|
public final double getBlurRadius()
Blur radius, in points. Default value - 0 pt. Read/write double.
getBlurRadius in interface IOuterShadowpublic final void setBlurRadius(double value)
Blur radius, in points. Default value - 0 pt. Read/write double.
setBlurRadius in interface IOuterShadowpublic final float getDirection()
Direction of the shadow, in degrees. Default value - 0 ° (left-to-right). Read/write float.
getDirection in interface IOuterShadowpublic final void setDirection(float value)
Direction of the shadow, in degrees. Default value - 0 ° (left-to-right). Read/write float.
setDirection in interface IOuterShadowpublic final double getDistance()
Distance of the shadow from the object, in points. Default value - 0 pt. Read/write double.
getDistance in interface IOuterShadowpublic final void setDistance(double value)
Distance of the shadow from the object, in points. Default value - 0 pt. Read/write double.
setDistance in interface IOuterShadowpublic final IColorFormat getShadowColor()
Color of the shadow.
Default value - automatic black (theme-dependent).
Read-only IColorFormat.
getShadowColor in interface IOuterShadowpublic final byte getRectangleAlign()
Rectangle alignment.
Default value - RectangleAlignment.Bottom.
Read/write RectangleAlignment.
getRectangleAlign in interface IOuterShadowpublic final void setRectangleAlign(byte value)
Rectangle alignment.
Default value - RectangleAlignment.Bottom.
Read/write RectangleAlignment.
setRectangleAlign in interface IOuterShadowpublic final double getSkewHorizontal()
Horizontal skew angle, in degrees. Default value - 0 °. Read/write double.
getSkewHorizontal in interface IOuterShadowpublic final void setSkewHorizontal(double value)
Horizontal skew angle, in degrees. Default value - 0 °. Read/write double.
setSkewHorizontal in interface IOuterShadowpublic final double getSkewVertical()
Vertical skew angle, in degrees. Default value - 0 °. Read/write double.
getSkewVertical in interface IOuterShadowpublic final void setSkewVertical(double value)
Vertical skew angle, in degrees. Default value - 0 °. Read/write double.
setSkewVertical in interface IOuterShadowpublic final boolean getRotateShadowWithShape()
Indicates whether the shadow rotates together with the shape. Default value - true. Read/write boolean.
getRotateShadowWithShape in interface IOuterShadowpublic final void setRotateShadowWithShape(boolean value)
Indicates whether the shadow rotates together with the shape. Default value - true. Read/write boolean.
setRotateShadowWithShape in interface IOuterShadowpublic final double getScaleHorizontal()
Horizontal scaling factor, in percent of the original size. Negative scaling causes a flip. Default value - 100 %. Read/write double.
getScaleHorizontal in interface IOuterShadowpublic final void setScaleHorizontal(double value)
Horizontal scaling factor, in percent of the original size. Negative scaling causes a flip. Default value - 100 %. Read/write double.
setScaleHorizontal in interface IOuterShadowpublic final double getScaleVertical()
Vertical scaling factor, in percent of the original size. Negative scaling causes a flip. Default value - 100 %. Read/write double.
getScaleVertical in interface IOuterShadowpublic final void setScaleVertical(double value)
Vertical scaling factor, in percent of the original size. Negative scaling causes a flip. Default value - 100 %. Read/write double.
setScaleVertical in interface IOuterShadowpublic final IOuterShadowEffectiveData getEffective()
Gets effective Outer Shadow effect data with the inheritance applied.
getEffective in interface IAccessiblePVIObject<IOuterShadowEffectiveData>IOuterShadowEffectiveData.public final com.aspose.slides.IDOMObject getParent_Immediate()
Returns Parent_Immediate object.
Read-only IDOMObject.
public final long getVersion()
Version.
Read-only long.
public final IPresentationComponent getParent_IPresentationComponent()
Returns parent IPresentationComponent.
Read-only IPresentationComponent.
public boolean equals(java.lang.Object obj)
Determines whether the specified OuterShadow is equal to the current OuterShadow.
equals in class java.lang.Objectobj - The OuterShadow to compare.public int hashCode()
Serves as a hash function for a particular type.
hashCode in class java.lang.ObjectCopyright © 2004-2025 Aspose Pty Ltd. All Rights Reserved.