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