Reflection
Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.slides.IReflection, com.aspose.slides.IVisualEffect, com.aspose.slides.IDOMObject, com.aspose.slides.IPVIObject, java.lang.Cloneable
public final class Reflection implements IReflection, IVisualEffect, IDOMObject, IPVIObject, Cloneable
Represents a Reflection effect.
Methods
Method | Description |
---|---|
getStartPosAlpha() | Specifies the start position (along the alpha gradient ramp) of the start alpha value (percents). |
setStartPosAlpha(float value) | Specifies the start position (along the alpha gradient ramp) of the start alpha value (percents). |
getEndPosAlpha() | Specifies the end position (along the alpha gradient ramp) of the end alpha value (percents). |
setEndPosAlpha(float value) | Specifies the end position (along the alpha gradient ramp) of the end alpha value (percents). |
getFadeDirection() | Specifies the direction to offset the reflection. |
setFadeDirection(float value) | Specifies the direction to offset the reflection. |
getStartReflectionOpacity() | Starting reflection opacity. |
setStartReflectionOpacity(float value) | Starting reflection opacity. |
getEndReflectionOpacity() | End reflection opacity. |
setEndReflectionOpacity(float value) | End reflection opacity. |
getBlurRadius() | Blur radius. |
setBlurRadius(double value) | Blur radius. |
getDirection() | Direction of reflection. |
setDirection(float value) | Direction of reflection. |
getDistance() | Distance of reflection. |
setDistance(double value) | Distance of reflection. |
getRectangleAlign() | Rectangle alignment. |
setRectangleAlign(byte value) | Rectangle alignment. |
getSkewHorizontal() | Specifies the horizontal skew angle. |
setSkewHorizontal(double value) | Specifies the horizontal skew angle. |
getSkewVertical() | Specifies the vertical skew angle. |
setSkewVertical(double value) | Specifies the vertical skew angle. |
getRotateShadowWithShape() | Specifies whether the reflection should rotate with the shape if the shape is rotated. |
setRotateShadowWithShape(boolean value) | Specifies whether the reflection 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 Reflection effect data with the inheritance applied. |
getParent_Immediate() | |
getVersion() | |
getParent_IPresentationComponent() | |
equals(Object obj) | Determines whether the specified Reflection is equal to the current Reflection. |
hashCode() | Serves as a hash function for a particular type. |
getStartPosAlpha()
public final float getStartPosAlpha()
Specifies the start position (along the alpha gradient ramp) of the start alpha value (percents). Read/write float.
Returns: float
setStartPosAlpha(float value)
public final void setStartPosAlpha(float value)
Specifies the start position (along the alpha gradient ramp) of the start alpha value (percents). Read/write float.
Parameters:
Parameter | Type | Description |
---|---|---|
value | float |
getEndPosAlpha()
public final float getEndPosAlpha()
Specifies the end position (along the alpha gradient ramp) of the end alpha value (percents). Read/write float.
Returns: float
setEndPosAlpha(float value)
public final void setEndPosAlpha(float value)
Specifies the end position (along the alpha gradient ramp) of the end alpha value (percents). Read/write float.
Parameters:
Parameter | Type | Description |
---|---|---|
value | float |
getFadeDirection()
public final float getFadeDirection()
Specifies the direction to offset the reflection. (angle). Read/write float.
Returns: float
setFadeDirection(float value)
public final void setFadeDirection(float value)
Specifies the direction to offset the reflection. (angle). Read/write float.
Parameters:
Parameter | Type | Description |
---|---|---|
value | float |
getStartReflectionOpacity()
public final float getStartReflectionOpacity()
Starting reflection opacity. (percents). Read/write float.
Returns: float
setStartReflectionOpacity(float value)
public final void setStartReflectionOpacity(float value)
Starting reflection opacity. (percents). Read/write float.
Parameters:
Parameter | Type | Description |
---|---|---|
value | float |
getEndReflectionOpacity()
public final float getEndReflectionOpacity()
End reflection opacity. (percents). Read/write float.
Returns: float
setEndReflectionOpacity(float value)
public final void setEndReflectionOpacity(float value)
End reflection opacity. (percents). Read/write float.
Parameters:
Parameter | Type | Description |
---|---|---|
value | float |
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:
Parameter | Type | Description |
---|---|---|
value | double |
getDirection()
public final float getDirection()
Direction of reflection. Read/write float.
Returns: float
setDirection(float value)
public final void setDirection(float value)
Direction of reflection. Read/write float.
Parameters:
Parameter | Type | Description |
---|---|---|
value | float |
getDistance()
public final double getDistance()
Distance of reflection. Read/write double.
Returns: double
setDistance(double value)
public final void setDistance(double value)
Distance of reflection. Read/write double.
Parameters:
Parameter | Type | Description |
---|---|---|
value | double |
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:
Parameter | Type | Description |
---|---|---|
value | byte |
getSkewHorizontal()
public final double getSkewHorizontal()
Specifies the horizontal skew angle. Read/write double.
Returns: double
setSkewHorizontal(double value)
public final void setSkewHorizontal(double value)
Specifies the horizontal skew angle. Read/write double.
Parameters:
Parameter | Type | Description |
---|---|---|
value | double |
getSkewVertical()
public final double getSkewVertical()
Specifies the vertical skew angle. Read/write double.
Returns: double
setSkewVertical(double value)
public final void setSkewVertical(double value)
Specifies the vertical skew angle. Read/write double.
Parameters:
Parameter | Type | Description |
---|---|---|
value | double |
getRotateShadowWithShape()
public final boolean getRotateShadowWithShape()
Specifies whether the reflection 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 reflection should rotate with the shape if the shape is rotated. Read/write boolean.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
getScaleHorizontal()
public final double getScaleHorizontal()
Specifies the horizontal scaling factor, negative scaling causes a flip. (percents) Read/write double.
Returns: double
setScaleHorizontal(double value)
public final void setScaleHorizontal(double value)
Specifies the horizontal scaling factor, negative scaling causes a flip. (percents) Read/write double.
Parameters:
Parameter | Type | Description |
---|---|---|
value | double |
getScaleVertical()
public final double getScaleVertical()
Specifies the vertical scaling factor, negative scaling causes a flip. (percents) Read/write double.
Returns: double
setScaleVertical(double value)
public final void setScaleVertical(double value)
Specifies the vertical scaling factor, negative scaling causes a flip. (percents) Read/write double.
Parameters:
Parameter | Type | Description |
---|---|---|
value | double |
getEffective()
public final IReflectionEffectiveData getEffective()
Gets effective Reflection effect data with the inheritance applied.
Returns: IReflectionEffectiveData - A IReflectionEffectiveData.
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 Reflection is equal to the current Reflection.
Parameters:
Parameter | Type | Description |
---|---|---|
obj | java.lang.Object | The Reflection 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.