PresetShadow

Inheritance: java.lang.Object

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

public final class PresetShadow implements IPresetShadow, IVisualEffect, IDOMObject, IPVIObject, Cloneable

Represents a Preset Shadow effect.

Methods

MethodDescription
getDirection()Direction of shadow.
setDirection(float value)Direction of shadow.
getDistance()Distance of shadow.
setDistance(double value)Distance of shadow.
getShadowColor()Color of shadow.
getPreset()Preset.
setPreset(int value)Preset.
getEffective()Gets effective Preset Shadow effect data with the inheritance applied.
getParent_Immediate()
getVersion()
getParent_IPresentationComponent()
equals(Object obj)Determines whether the specified PresetShadow is equal to the current PresetShadow.
hashCode()Serves as a hash function for a particular type.

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

getPreset()

public final int getPreset()

Preset. Read/write PresetShadowType.

Returns: int

setPreset(int value)

public final void setPreset(int value)

Preset. Read/write PresetShadowType.

Parameters:

ParameterTypeDescription
valueint

getEffective()

public final IPresetShadowEffectiveData getEffective()

Gets effective Preset Shadow effect data with the inheritance applied.

Returns: IPresetShadowEffectiveData - A IPresetShadowEffectiveData.

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 PresetShadow is equal to the current PresetShadow.

Parameters:

ParameterTypeDescription
objjava.lang.ObjectThe PresetShadow 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.