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, in points.
setBlurRadius(double value)Blur radius, in points.
getDirection()Direction of the shadow, in degrees.
setDirection(float value)Direction of the shadow, in degrees.
getDistance()Distance of the shadow from the object, in points.
setDistance(double value)Distance of the shadow from the object, in points.
getShadowColor()Color of the shadow.
getRectangleAlign()Rectangle alignment.
setRectangleAlign(byte value)Rectangle alignment.
getSkewHorizontal()Horizontal skew angle, in degrees.
setSkewHorizontal(double value)Horizontal skew angle, in degrees.
getSkewVertical()Vertical skew angle, in degrees.
setSkewVertical(double value)Vertical skew angle, in degrees.
getRotateShadowWithShape()Indicates whether the shadow rotates together with the shape.
setRotateShadowWithShape(boolean value)Indicates whether the shadow rotates together with the shape.
getScaleHorizontal()Horizontal scaling factor, in percent of the original size.
setScaleHorizontal(double value)Horizontal scaling factor, in percent of the original size.
getScaleVertical()Vertical scaling factor, in percent of the original size.
setScaleVertical(double value)Vertical scaling factor, in percent of the original size.
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, in points. Default value - 0 pt. Read/write double.

Returns: double

setBlurRadius(double value)

public final void setBlurRadius(double value)

Blur radius, in points. Default value - 0 pt. Read/write double.

Parameters:

ParameterTypeDescription
valuedouble

getDirection()

public final float getDirection()

Direction of the shadow, in degrees. Default value - 0 � (left-to-right). Read/write float.

Returns: float

setDirection(float value)

public final void setDirection(float value)

Direction of the shadow, in degrees. Default value - 0 � (left-to-right). Read/write float.

Parameters:

ParameterTypeDescription
valuefloat

getDistance()

public final double getDistance()

Distance of the shadow from the object, in points. Default value - 0 pt. Read/write double.

Returns: double

setDistance(double value)

public final void setDistance(double value)

Distance of the shadow from the object, in points. Default value - 0 pt. Read/write double.

Parameters:

ParameterTypeDescription
valuedouble

getShadowColor()

public final IColorFormat getShadowColor()

Color of the shadow. Default value - automatic black (theme-dependent). Read-only IColorFormat.

Returns: IColorFormat

getRectangleAlign()

public final byte getRectangleAlign()

Rectangle alignment. Default value - RectangleAlignment.Bottom. Read/write RectangleAlignment.

Returns: byte

setRectangleAlign(byte value)

public final void setRectangleAlign(byte value)

Rectangle alignment. Default value - RectangleAlignment.Bottom. Read/write RectangleAlignment.

Parameters:

ParameterTypeDescription
valuebyte

getSkewHorizontal()

public final double getSkewHorizontal()

Horizontal skew angle, in degrees. Default value - 0 �. Read/write double.

Returns: double

setSkewHorizontal(double value)

public final void setSkewHorizontal(double value)

Horizontal skew angle, in degrees. Default value - 0 �. Read/write double.

Parameters:

ParameterTypeDescription
valuedouble

getSkewVertical()

public final double getSkewVertical()

Vertical skew angle, in degrees. Default value - 0 �. Read/write double.

Returns: double

setSkewVertical(double value)

public final void setSkewVertical(double value)

Vertical skew angle, in degrees. Default value - 0 �. Read/write double.

Parameters:

ParameterTypeDescription
valuedouble

getRotateShadowWithShape()

public final boolean getRotateShadowWithShape()

Indicates whether the shadow rotates together with the shape. Default value - true. Read/write boolean.

Returns: boolean

setRotateShadowWithShape(boolean value)

public final void setRotateShadowWithShape(boolean value)

Indicates whether the shadow rotates together with the shape. Default value - true. Read/write boolean.

Parameters:

ParameterTypeDescription
valueboolean

getScaleHorizontal()

public final double getScaleHorizontal()

Horizontal scaling factor, in percent of the original size. Negative scaling causes a flip. Default value - 100 %. Read/write double.

Returns: double

setScaleHorizontal(double value)

public 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.

Parameters:

ParameterTypeDescription
valuedouble

getScaleVertical()

public final double getScaleVertical()

Vertical scaling factor, in percent of the original size. Negative scaling causes a flip. Default value - 100 %. Read/write double.

Returns: double

setScaleVertical(double value)

public 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.

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.