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

NameTypeAccessDescription
startPosAlphadoubleReadProperty gets or sets the starting position alpha of the reflection
endPosAlphadoubleReadProperty gets or sets the ending position alpha of the reflection
fadeDirectiondoubleReadProperty gets or sets the fade direction factor of the reflection
startReflectionOpacitydoubleReadProperty gets or sets the start opacity of the reflection
endReflectionOpacitydoubleReadProperty gets or sets the end opacity of the reflection
blurRadiusdoubleReadProperty gets or sets the blur radius applied to the reflection
directiondoubleReadProperty gets or sets the direction angle of the reflection
distancedoubleReadProperty gets or sets the distance offset of the reflection
rectangleAlignRectangleAlignmentReadProperty gets or sets the rectangle alignment for the reflection
skewHorizontaldoubleReadProperty gets or sets the horizontal skew of the reflection
skewVerticaldoubleReadProperty gets or sets the vertical skew of the reflection
rotateShadowWithShapebooleanReadProperty gets or sets whether the reflection rotates with the shape
scaleHorizontaldoubleReadProperty gets or sets the horizontal scale factor of the reflection
scaleVerticaldoubleReadProperty gets or sets the vertical scale factor of the reflection

Methods

SignatureDescription
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()doubleReturns the starting position alpha value of the reflection
setStartPosAlpha(value: double)Sets the starting position alpha value for the reflection
getEndPosAlpha()doubleReturns the ending position alpha value of the reflection
setEndPosAlpha(value: double)Sets the ending position alpha value for the reflection
getFadeDirection()doubleReturns the fade direction factor of the reflection
setFadeDirection(value: double)Sets the fade direction factor for the reflection
getStartReflectionOpacity()doubleReturns the opacity at the start of the reflection
setStartReflectionOpacity(value: double)Sets the starting opacity of the reflection
getEndReflectionOpacity()doubleReturns the opacity at the end of the reflection
setEndReflectionOpacity(value: double)Sets the ending opacity of the reflection
getBlurRadius()doubleReturns the blur radius applied to the reflection
setBlurRadius(value: double)Sets the blur radius for the reflection effect
getDirection()doubleReturns the direction angle of the reflection
setDirection(value: double)Sets the direction angle for the reflection
getDistance()doubleReturns the distance offset of the reflection from the shape
setDistance(value: double)Sets the distance offset for the reflection
getRectangleAlign()RectangleAlignmentReturns the rectangle alignment of the reflection
setRectangleAlign(value: RectangleAlignment)
getSkewHorizontal()doubleReturns the horizontal skew value of the reflection
setSkewHorizontal(value: double)Sets the horizontal skew for the reflection
getSkewVertical()doubleReturns 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()doubleReturns the horizontal scale factor of the reflection
setScaleHorizontal(value: double)Sets the horizontal scale factor for the reflection
getScaleVertical()double
setScaleVertical(value: double)

See Also