OuterShadow

Overview

OuterShadow is a class in Aspose.Slides FOSS for Java. Inherits from: ImageTransformOperation, IOuterShadow.

Represents an outer shadow effect backed by an OOXML {@code <a:outerShdw>} element.

Properties

NameTypeAccessDescription
blurRadiusdoubleReadRepresents the blur radius of the outer shadow
directiondoubleRead
distancedoubleRead
shadowColorIColorFormatReadRepresents the color of the outer shadow
rectangleAlignRectangleAlignmentReadRepresents the rectangle alignment of the outer shadow
skewHorizontaldoubleReadRepresents the horizontal skew of the outer shadow
skewVerticaldoubleReadRepresents the vertical skew of the outer shadow
rotateShadowWithShapebooleanReadIndicates if the shadow rotates with the shape
scaleHorizontaldoubleReadRepresents the horizontal scale factor of the outer shadow
scaleVerticaldoubleReadRepresents the vertical scale factor of the outer shadow

Methods

SignatureDescription
OuterShadow()Creates an uninitialized OuterShadow.
OuterShadow(element: Element, saveCallback: Runnable)Creates a new OuterShadow backed by the given XML element.
OuterShadow(element: Element, saveCallback: Runnable, parentSlide: IBaseSlide)Creates a new OuterShadow backed by the given XML element with a parent slide reference.
initInternal(element: Element, saveCallback: Runnable, parentSlide: IBaseSlide)Initializes this OuterShadow with the given backing element, save callback, and parent slide.
getBlurRadius()doubleReturns the blur radius of the outer shadow
setBlurRadius(value: double)Sets the blur radius of the outer shadow
getDirection()doubleReturns the direction angle of the outer shadow
setDirection(value: double)Sets the direction angle of the outer shadow
getDistance()doubleReturns the offset distance of the outer shadow
setDistance(value: double)Sets the offset distance of the outer shadow
getShadowColor()IColorFormatReturns the color format of the outer shadow
getRectangleAlign()RectangleAlignmentReturns the rectangle alignment of the outer shadow
setRectangleAlign(value: RectangleAlignment)Sets the rectangle alignment of the outer shadow
getSkewHorizontal()doubleReturns the horizontal skew of the outer shadow
setSkewHorizontal(value: double)Sets the horizontal skew of the outer shadow
getSkewVertical()doubleReturns the vertical skew of the outer shadow
setSkewVertical(value: double)Sets the vertical skew of the outer shadow
getRotateShadowWithShape()booleanReturns whether the shadow rotates with the shape
setRotateShadowWithShape(value: boolean)
getScaleHorizontal()doubleReturns the horizontal scale factor of the outer shadow
setScaleHorizontal(value: double)Sets the horizontal scale factor of the outer shadow
getScaleVertical()doubleReturns the vertical scale factor of the outer shadow
setScaleVertical(value: double)Sets the vertical scale factor of the outer shadow

See Also