com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Class Reflection

  • java.lang.Object
    • com.aspose.slides.Reflection
  • All Implemented Interfaces:
    IReflection, java.lang.Cloneable


    public class Reflection
    extends java.lang.Object
    implements IReflection, java.lang.Cloneable

    Represents a reflection effect.

    • Method Detail

      • getStartPosAlpha

        public final float getStartPosAlpha()

        Specifies the start position (along the alpha gradient ramp) of the start alpha value (percents). Read/write float.

        Specified by:
        getStartPosAlpha in interface IReflection
      • setStartPosAlpha

        public final void setStartPosAlpha(float value)

        Specifies the start position (along the alpha gradient ramp) of the start alpha value (percents). Read/write float.

        Specified by:
        setStartPosAlpha in interface IReflection
      • getEndPosAlpha

        public final float getEndPosAlpha()

        Specifies the end position (along the alpha gradient ramp) of the end alpha value (percents). Read/write float.

        Specified by:
        getEndPosAlpha in interface IReflection
      • setEndPosAlpha

        public final void setEndPosAlpha(float value)

        Specifies the end position (along the alpha gradient ramp) of the end alpha value (percents). Read/write float.

        Specified by:
        setEndPosAlpha in interface IReflection
      • getFadeDirection

        public final float getFadeDirection()

        Specifies the direction to offset the reflection. (angle). Read/write float.

        Specified by:
        getFadeDirection in interface IReflection
      • setFadeDirection

        public final void setFadeDirection(float value)

        Specifies the direction to offset the reflection. (angle). Read/write float.

        Specified by:
        setFadeDirection in interface IReflection
      • getStartReflectionOpacity

        public final float getStartReflectionOpacity()

        Starting reflection opacity. (percents). Read/write float.

        Specified by:
        getStartReflectionOpacity in interface IReflection
      • setStartReflectionOpacity

        public final void setStartReflectionOpacity(float value)

        Starting reflection opacity. (percents). Read/write float.

        Specified by:
        setStartReflectionOpacity in interface IReflection
      • getEndReflectionOpacity

        public final float getEndReflectionOpacity()

        End reflection opacity. (percents). Read/write float.

        Specified by:
        getEndReflectionOpacity in interface IReflection
      • setEndReflectionOpacity

        public final void setEndReflectionOpacity(float value)

        End reflection opacity. (percents). Read/write float.

        Specified by:
        setEndReflectionOpacity in interface IReflection
      • getBlurRadius

        public final double getBlurRadius()

        Blur radius. Read/write double.

        Specified by:
        getBlurRadius in interface IReflection
      • setBlurRadius

        public final void setBlurRadius(double value)

        Blur radius. Read/write double.

        Specified by:
        setBlurRadius in interface IReflection
      • getDirection

        public final float getDirection()

        Direction of reflection. Read/write float.

        Specified by:
        getDirection in interface IReflection
      • setDirection

        public final void setDirection(float value)

        Direction of reflection. Read/write float.

        Specified by:
        setDirection in interface IReflection
      • getDistance

        public final double getDistance()

        Distance of reflection. Read/write double.

        Specified by:
        getDistance in interface IReflection
      • setDistance

        public final void setDistance(double value)

        Distance of reflection. Read/write double.

        Specified by:
        setDistance in interface IReflection
      • getSkewHorizontal

        public final double getSkewHorizontal()

        Specifies the horizontal skew angle. Read/write double.

        Specified by:
        getSkewHorizontal in interface IReflection
      • setSkewHorizontal

        public final void setSkewHorizontal(double value)

        Specifies the horizontal skew angle. Read/write double.

        Specified by:
        setSkewHorizontal in interface IReflection
      • getSkewVertical

        public final double getSkewVertical()

        Specifies the vertical skew angle. Read/write double.

        Specified by:
        getSkewVertical in interface IReflection
      • setSkewVertical

        public final void setSkewVertical(double value)

        Specifies the vertical skew angle. Read/write double.

        Specified by:
        setSkewVertical in interface IReflection
      • getRotateShadowWithShape

        public final boolean getRotateShadowWithShape()

        Specifies whether the reflection should rotate with the shape if the shape is rotated. Read/write boolean.

        Specified by:
        getRotateShadowWithShape in interface IReflection
      • setRotateShadowWithShape

        public final void setRotateShadowWithShape(boolean value)

        Specifies whether the reflection should rotate with the shape if the shape is rotated. Read/write boolean.

        Specified by:
        setRotateShadowWithShape in interface IReflection
      • getScaleHorizontal

        public final double getScaleHorizontal()

        Specifies the horizontal scaling factor, negative scaling causes a flip. (percents) Read/write double.

        Specified by:
        getScaleHorizontal in interface IReflection
      • setScaleHorizontal

        public final void setScaleHorizontal(double value)

        Specifies the horizontal scaling factor, negative scaling causes a flip. (percents) Read/write double.

        Specified by:
        setScaleHorizontal in interface IReflection
      • getScaleVertical

        public final double getScaleVertical()

        Specifies the vertical scaling factor, negative scaling causes a flip. (percents) Read/write double.

        Specified by:
        getScaleVertical in interface IReflection
      • setScaleVertical

        public final void setScaleVertical(double value)

        Specifies the vertical scaling factor, negative scaling causes a flip. (percents) Read/write double.

        Specified by:
        setScaleVertical in interface IReflection
      • getParent_Immediate

        public final com.aspose.slides.IDOMObject getParent_Immediate()

        Returns Parent_Immediate object. Read-only IDOMObject.

      • equals

        public boolean equals(java.lang.Object obj)

        Determines whether the specified Reflection is equal to the current Reflection.

        Overrides:
        equals in class java.lang.Object
        Parameters:
        obj - The Reflection to compare.
        Returns:
        true if objects are equal; otherwise, false.
      • hashCode

        public int hashCode()

        Serves as a hash function for a particular type.

        Overrides:
        hashCode in class java.lang.Object
        Returns:
        A hash code for the current object.