OuterShadow

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.slides.IOuterShadow, com.aspose.slides.IVisualEffect, com.aspose.slides.IDOMObject, com.aspose.slides.IPVIObject, java.lang.Cloneable

public final class OuterShadow implements IOuterShadow, IVisualEffect, IDOMObject, IPVIObject, Cloneable

Represents an Outer Shadow effect.

Methods

MethodDescription
getBlurRadius()Blur radius.
setBlurRadius(double value)Blur radius.
getDirection()Direction of shadow.
setDirection(float value)Direction of shadow.
getDistance()Distance of shadow.
setDistance(double value)Distance of shadow.
getShadowColor()Color of shadow.
getRectangleAlign()Rectangle alignment.
setRectangleAlign(byte value)Rectangle alignment.
getSkewHorizontal()Specifies the horizontal skew angle (in degrees).
setSkewHorizontal(double value)Specifies the horizontal skew angle (in degrees).
getSkewVertical()Specifies the vertical skew angle (in degrees).
setSkewVertical(double value)Specifies the vertical skew angle (in degrees).
getRotateShadowWithShape()Specifies whether the shadow should rotate with the shape if the shape is rotated.
setRotateShadowWithShape(boolean value)Specifies whether the shadow should rotate with the shape if the shape is rotated.
getScaleHorizontal()Specifies the horizontal scaling factor, negative scaling causes a flip.
setScaleHorizontal(double value)Specifies the horizontal scaling factor, negative scaling causes a flip.
getScaleVertical()Specifies the vertical scaling factor, negative scaling causes a flip.
setScaleVertical(double value)Specifies the vertical scaling factor, negative scaling causes a flip.
getEffective()Gets effective Outer Shadow effect data with the inheritance applied.
getParent_Immediate()
getVersion()
getParent_IPresentationComponent()
equals(Object obj)Determines whether the specified OuterShadow is equal to the current OuterShadow.
hashCode()Serves as a hash function for a particular type.

getBlurRadius()

public final double getBlurRadius()

Blur radius. Read/write double .

Returns: double

setBlurRadius(double value)

public final void setBlurRadius(double value)

Blur radius. Read/write double .

Parameters:

ParameterTypeDescription
valuedouble

getDirection()

public final float getDirection()

Direction of shadow. Read/write float .

Returns: float

setDirection(float value)

public final void setDirection(float value)

Direction of shadow. Read/write float .

Parameters:

ParameterTypeDescription
valuefloat

getDistance()

public final double getDistance()

Distance of shadow. Read/write double .

Returns: double

setDistance(double value)

public final void setDistance(double value)

Distance of shadow. Read/write double .

Parameters:

ParameterTypeDescription
valuedouble

getShadowColor()

public final IColorFormat getShadowColor()

Color of shadow. Read-only IColorFormat.

Returns: IColorFormat

getRectangleAlign()

public final byte getRectangleAlign()

Rectangle alignment. Read/write RectangleAlignment.

Returns: byte

setRectangleAlign(byte value)

public final void setRectangleAlign(byte value)

Rectangle alignment. Read/write RectangleAlignment.

Parameters:

ParameterTypeDescription
valuebyte

getSkewHorizontal()

public final double getSkewHorizontal()

Specifies the horizontal skew angle (in degrees). Read/write double .

Returns: double

setSkewHorizontal(double value)

public final void setSkewHorizontal(double value)

Specifies the horizontal skew angle (in degrees). Read/write double .

Parameters:

ParameterTypeDescription
valuedouble

getSkewVertical()

public final double getSkewVertical()

Specifies the vertical skew angle (in degrees). Read/write double .

Returns: double

setSkewVertical(double value)

public final void setSkewVertical(double value)

Specifies the vertical skew angle (in degrees). Read/write double .

Parameters:

ParameterTypeDescription
valuedouble

getRotateShadowWithShape()

public final boolean getRotateShadowWithShape()

Specifies whether the shadow should rotate with the shape if the shape is rotated. Read/write boolean .

Returns: boolean

setRotateShadowWithShape(boolean value)

public final void setRotateShadowWithShape(boolean value)

Specifies whether the shadow should rotate with the shape if the shape is rotated. Read/write boolean .

Parameters:

ParameterTypeDescription
valueboolean

getScaleHorizontal()

public final double getScaleHorizontal()

Specifies the horizontal scaling factor, negative scaling causes a flip. Read/write double .

Returns: double

setScaleHorizontal(double value)

public final void setScaleHorizontal(double value)

Specifies the horizontal scaling factor, negative scaling causes a flip. Read/write double .

Parameters:

ParameterTypeDescription
valuedouble

getScaleVertical()

public final double getScaleVertical()

Specifies the vertical scaling factor, negative scaling causes a flip. Read/write double .

Returns: double

setScaleVertical(double value)

public final void setScaleVertical(double value)

Specifies the vertical scaling factor, negative scaling causes a flip. Read/write double .

Parameters:

ParameterTypeDescription
valuedouble

getEffective()

public final IOuterShadowEffectiveData getEffective()

Gets effective Outer Shadow effect data with the inheritance applied.

Returns: IOuterShadowEffectiveData - A IOuterShadowEffectiveData.

getParent_Immediate()

public final IDOMObject getParent_Immediate()

Returns Parent_Immediate object. Read-only IDOMObject.

Returns: com.aspose.slides.IDOMObject

getVersion()

public final long getVersion()

Version. Read-only long.

Returns: long

getParent_IPresentationComponent()

public final IPresentationComponent getParent_IPresentationComponent()

Returns parent IPresentationComponent. Read-only IPresentationComponent.

Returns: IPresentationComponent

equals(Object obj)

public boolean equals(Object obj)

Determines whether the specified OuterShadow is equal to the current OuterShadow.

Parameters:

ParameterTypeDescription
objjava.lang.ObjectThe OuterShadow to compare.

Returns: boolean - true if objects are equal; otherwise, false.

hashCode()

public int hashCode()

Serves as a hash function for a particular type.

Returns: int - A hash code for the current object.