Reflection
Overview
Reflection is a class in Aspose.Slides FOSS for Java.
Inherits from: ImageTransformOperation, IReflection.
Represents a reflection effect backed by an OOXML {@code <a:reflection>} element.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
startPosAlpha | double | Read | Property gets or sets the starting position alpha of the reflection |
endPosAlpha | double | Read | Property gets or sets the ending position alpha of the reflection |
fadeDirection | double | Read | Property gets or sets the fade direction factor of the reflection |
startReflectionOpacity | double | Read | Property gets or sets the start opacity of the reflection |
endReflectionOpacity | double | Read | Property gets or sets the end opacity of the reflection |
blurRadius | double | Read | Property gets or sets the blur radius applied to the reflection |
direction | double | Read | Property gets or sets the direction angle of the reflection |
distance | double | Read | Property gets or sets the distance offset of the reflection |
rectangleAlign | RectangleAlignment | Read | Property gets or sets the rectangle alignment for the reflection |
skewHorizontal | double | Read | Property gets or sets the horizontal skew of the reflection |
skewVertical | double | Read | Property gets or sets the vertical skew of the reflection |
rotateShadowWithShape | boolean | Read | Property gets or sets whether the reflection rotates with the shape |
scaleHorizontal | double | Read | Property gets or sets the horizontal scale factor of the reflection |
scaleVertical | double | Read | Property gets or sets the vertical scale factor of the reflection |
Methods
| Signature | Description |
|---|---|
Reflection() | Creates an uninitialized Reflection. |
Reflection(element: Element, saveCallback: Runnable) | Creates a new Reflection backed by the given XML element. |
Reflection(element: Element, saveCallback: Runnable, parentSlide: IBaseSlide) | Creates a new Reflection backed by the given XML element with a parent slide reference. |
initInternal(element: Element, saveCallback: Runnable, parentSlide: IBaseSlide) | Initializes this Reflection with the given backing element, save callback, and parent slide. |
getStartPosAlpha() → double | Returns the starting position alpha value of the reflection |
setStartPosAlpha(value: double) | Sets the starting position alpha value for the reflection |
getEndPosAlpha() → double | Returns the ending position alpha value of the reflection |
setEndPosAlpha(value: double) | Sets the ending position alpha value for the reflection |
getFadeDirection() → double | Returns the fade direction factor of the reflection |
setFadeDirection(value: double) | Sets the fade direction factor for the reflection |
getStartReflectionOpacity() → double | Returns the opacity at the start of the reflection |
setStartReflectionOpacity(value: double) | Sets the starting opacity of the reflection |
getEndReflectionOpacity() → double | Returns the opacity at the end of the reflection |
setEndReflectionOpacity(value: double) | Sets the ending opacity of the reflection |
getBlurRadius() → double | Returns the blur radius applied to the reflection |
setBlurRadius(value: double) | Sets the blur radius for the reflection effect |
getDirection() → double | Returns the direction angle of the reflection |
setDirection(value: double) | Sets the direction angle for the reflection |
getDistance() → double | Returns the distance offset of the reflection from the shape |
setDistance(value: double) | Sets the distance offset for the reflection |
getRectangleAlign() → RectangleAlignment | Returns the rectangle alignment of the reflection |
setRectangleAlign(value: RectangleAlignment) | |
getSkewHorizontal() → double | Returns the horizontal skew value of the reflection |
setSkewHorizontal(value: double) | Sets the horizontal skew for the reflection |
getSkewVertical() → double | Returns the vertical skew value of the reflection |
setSkewVertical(value: double) | Sets the vertical skew for the reflection |
getRotateShadowWithShape() → boolean | |
setRotateShadowWithShape(value: boolean) | Sets rotation synchronization of reflection with shape |
getScaleHorizontal() → double | Returns the horizontal scale factor of the reflection |
setScaleHorizontal(value: double) | Sets the horizontal scale factor for the reflection |
getScaleVertical() → double | |
setScaleVertical(value: double) |