IOuterShadow
All Implemented Interfaces: com.aspose.slides.IImageTransformOperation, com.aspose.slides.IAccessiblePVIObject
public interface IOuterShadow extends IImageTransformOperation, IAccessiblePVIObject<IOuterShadowEffectiveData>
Represents an Outer Shadow effect.
Methods
Method | Description |
---|---|
getBlurRadius() | Blur radius, in points. |
setBlurRadius(double value) | Blur radius, in points. |
getDirection() | Direction of the shadow, in degrees. |
setDirection(float value) | Direction of the shadow, in degrees. |
getDistance() | Distance of the shadow from the object, in points. |
setDistance(double value) | Distance of the shadow from the object, in points. |
getShadowColor() | Color of the shadow. |
getRectangleAlign() | Rectangle alignment. |
setRectangleAlign(byte value) | Rectangle alignment. |
getSkewHorizontal() | Horizontal skew angle, in degrees. |
setSkewHorizontal(double value) | Horizontal skew angle, in degrees. |
getSkewVertical() | Vertical skew angle, in degrees. |
setSkewVertical(double value) | Vertical skew angle, in degrees. |
getRotateShadowWithShape() | Indicates whether the shadow rotates together with the shape. |
setRotateShadowWithShape(boolean value) | Indicates whether the shadow rotates together with the shape. |
getScaleHorizontal() | Horizontal scaling factor, in percent of the original size. |
setScaleHorizontal(double value) | Horizontal scaling factor, in percent of the original size. |
getScaleVertical() | Vertical scaling factor, in percent of the original size. |
setScaleVertical(double value) | Vertical scaling factor, in percent of the original size. |
getBlurRadius()
public abstract double getBlurRadius()
Blur radius, in points. Default value - 0 pt. Read/write double.
Returns: double
setBlurRadius(double value)
public abstract void setBlurRadius(double value)
Blur radius, in points. Default value - 0 pt. Read/write double.
Parameters:
Parameter | Type | Description |
---|---|---|
value | double |
getDirection()
public abstract float getDirection()
Direction of the shadow, in degrees. Default value - 0 ° (left-to-right). Read/write float.
Returns: float
setDirection(float value)
public abstract void setDirection(float value)
Direction of the shadow, in degrees. Default value - 0 ° (left-to-right). Read/write float.
Parameters:
Parameter | Type | Description |
---|---|---|
value | float |
getDistance()
public abstract double getDistance()
Distance of the shadow from the object, in points. Default value - 0 pt. Read/write double.
Returns: double
setDistance(double value)
public abstract void setDistance(double value)
Distance of the shadow from the object, in points. Default value - 0 pt. Read/write double.
Parameters:
Parameter | Type | Description |
---|---|---|
value | double |
getShadowColor()
public abstract IColorFormat getShadowColor()
Color of the shadow. Default value - automatic black (theme-dependent). Read-only IColorFormat.
Returns: IColorFormat
getRectangleAlign()
public abstract byte getRectangleAlign()
Rectangle alignment. Default value - RectangleAlignment.Bottom. Read/write RectangleAlignment.
Returns: byte
setRectangleAlign(byte value)
public abstract void setRectangleAlign(byte value)
Rectangle alignment. Default value - RectangleAlignment.Bottom. Read/write RectangleAlignment.
Parameters:
Parameter | Type | Description |
---|---|---|
value | byte |
getSkewHorizontal()
public abstract double getSkewHorizontal()
Horizontal skew angle, in degrees. Default value - 0 °. Read/write double.
Returns: double
setSkewHorizontal(double value)
public abstract void setSkewHorizontal(double value)
Horizontal skew angle, in degrees. Default value - 0 °. Read/write double.
Parameters:
Parameter | Type | Description |
---|---|---|
value | double |
getSkewVertical()
public abstract double getSkewVertical()
Vertical skew angle, in degrees. Default value - 0 °. Read/write double.
Returns: double
setSkewVertical(double value)
public abstract void setSkewVertical(double value)
Vertical skew angle, in degrees. Default value - 0 °. Read/write double.
Parameters:
Parameter | Type | Description |
---|---|---|
value | double |
getRotateShadowWithShape()
public abstract boolean getRotateShadowWithShape()
Indicates whether the shadow rotates together with the shape. Default value - true. Read/write boolean.
Returns: boolean
setRotateShadowWithShape(boolean value)
public abstract void setRotateShadowWithShape(boolean value)
Indicates whether the shadow rotates together with the shape. Default value - true. Read/write boolean.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
getScaleHorizontal()
public abstract double getScaleHorizontal()
Horizontal scaling factor, in percent of the original size. Negative scaling causes a flip. Default value - 100 %. Read/write double.
Returns: double
setScaleHorizontal(double value)
public abstract void setScaleHorizontal(double value)
Horizontal scaling factor, in percent of the original size. Negative scaling causes a flip. Default value - 100 %. Read/write double.
Parameters:
Parameter | Type | Description |
---|---|---|
value | double |
getScaleVertical()
public abstract double getScaleVertical()
Vertical scaling factor, in percent of the original size. Negative scaling causes a flip. Default value - 100 %. Read/write double.
Returns: double
setScaleVertical(double value)
public abstract void setScaleVertical(double value)
Vertical scaling factor, in percent of the original size. Negative scaling causes a flip. Default value - 100 %. Read/write double.
Parameters:
Parameter | Type | Description |
---|---|---|
value | double |