public class ReflectionEffectiveData extends EffectEffectiveData implements IReflectionEffectiveData
Immutable object which represents a reflection effect.
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Determines whether the specified
ReflectionEffectiveData is equal to the current ReflectionEffectiveData. |
double |
getBlurRadius()
Blur radius.
|
float |
getDirection()
Direction of reflection.
|
double |
getDistance()
Distance of reflection.
|
float |
getEndPosAlpha()
Specifies the end position (along the alpha gradient ramp) of the end alpha value (percents).
|
float |
getEndReflectionOpacity()
End reflection opacity.
|
float |
getFadeDirection()
Specifies the direction to offset the reflection.
|
byte |
getRectangleAlign()
Rectangle alignment.
|
boolean |
getRotateShadowWithShape()
Specifies whether the reflection should rotate with the shape if the shape is rotated.
|
double |
getScaleHorizontal()
Specifies the horizontal scaling factor, negative scaling causes a flip.
|
double |
getScaleVertical()
Specifies the vertical scaling factor, negative scaling causes a flip.
|
double |
getSkewHorizontal()
Specifies the horizontal skew angle.
|
double |
getSkewVertical()
Specifies the vertical skew angle.
|
float |
getStartPosAlpha()
Specifies the start position (along the alpha gradient ramp) of the start alpha value (percents).
|
float |
getStartReflectionOpacity()
Starting reflection opacity.
|
int |
hashCode()
Serves as a hash function for a particular type.
|
public final float getStartPosAlpha()
Specifies the start position (along the alpha gradient ramp) of the start alpha value (percents).
Read-only float.
getStartPosAlpha in interface IReflectionEffectiveDatapublic final float getEndPosAlpha()
Specifies the end position (along the alpha gradient ramp) of the end alpha value (percents).
Read-only float.
getEndPosAlpha in interface IReflectionEffectiveDatapublic final float getFadeDirection()
Specifies the direction to offset the reflection. (angle).
Read-only float.
getFadeDirection in interface IReflectionEffectiveDatapublic final float getStartReflectionOpacity()
Starting reflection opacity. (percents).
Read-only float.
getStartReflectionOpacity in interface IReflectionEffectiveDatapublic final float getEndReflectionOpacity()
End reflection opacity. (percents).
Read-only float.
getEndReflectionOpacity in interface IReflectionEffectiveDatapublic final double getBlurRadius()
Blur radius.
Read-only double.
getBlurRadius in interface IReflectionEffectiveDatapublic final float getDirection()
Direction of reflection.
Read-only float.
getDirection in interface IReflectionEffectiveDatapublic final double getDistance()
Distance of reflection.
Read-only double.
getDistance in interface IReflectionEffectiveDatapublic final byte getRectangleAlign()
Rectangle alignment.
Read-only RectangleAlignment.
getRectangleAlign in interface IReflectionEffectiveDatapublic final double getSkewHorizontal()
Specifies the horizontal skew angle.
Read-only double.
getSkewHorizontal in interface IReflectionEffectiveDatapublic final double getSkewVertical()
Specifies the vertical skew angle.
Read-only double.
getSkewVertical in interface IReflectionEffectiveDatapublic final boolean getRotateShadowWithShape()
Specifies whether the reflection should rotate with the shape if the shape is rotated.
Read-only boolean.
getRotateShadowWithShape in interface IReflectionEffectiveDatapublic final double getScaleHorizontal()
Specifies the horizontal scaling factor, negative scaling causes a flip. (percents)
Read-only double.
getScaleHorizontal in interface IReflectionEffectiveDatapublic final double getScaleVertical()
Specifies the vertical scaling factor, negative scaling causes a flip. (percents)
Read-only double.
getScaleVertical in interface IReflectionEffectiveDatapublic boolean equals(java.lang.Object obj)
Determines whether the specified ReflectionEffectiveData is equal to the current ReflectionEffectiveData.
equals in class java.lang.Objectobj - The ReflectionEffectiveData to compare.public int hashCode()
Serves as a hash function for a particular type.
hashCode in class java.lang.Object