public interface IReflection
Represents a reflection effect.
Modifier and Type | Method and Description |
---|---|
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.
|
void |
setBlurRadius(double value)
Blur radius.
|
void |
setDirection(float value)
Direction of reflection.
|
void |
setDistance(double value)
Distance of reflection.
|
void |
setEndPosAlpha(float value)
Specifies the end position (along the alpha gradient ramp) of the end alpha value (percents).
|
void |
setEndReflectionOpacity(float value)
End reflection opacity.
|
void |
setFadeDirection(float value)
Specifies the direction to offset the reflection.
|
void |
setRectangleAlign(byte value)
Rectangle alignment.
|
void |
setRotateShadowWithShape(boolean value)
Specifies whether the reflection should rotate with the shape if the shape is rotated.
|
void |
setScaleHorizontal(double value)
Specifies the horizontal scaling factor, negative scaling causes a flip.
|
void |
setScaleVertical(double value)
Specifies the vertical scaling factor, negative scaling causes a flip.
|
void |
setSkewHorizontal(double value)
Specifies the horizontal skew angle.
|
void |
setSkewVertical(double value)
Specifies the vertical skew angle.
|
void |
setStartPosAlpha(float value)
Specifies the start position (along the alpha gradient ramp) of the start alpha value (percents).
|
void |
setStartReflectionOpacity(float value)
Starting reflection opacity.
|
float getStartPosAlpha()
Specifies the start position (along the alpha gradient ramp) of the start alpha value (percents).
Read/write float
.
void setStartPosAlpha(float value)
Specifies the start position (along the alpha gradient ramp) of the start alpha value (percents).
Read/write float
.
float getEndPosAlpha()
Specifies the end position (along the alpha gradient ramp) of the end alpha value (percents).
Read/write float
.
void setEndPosAlpha(float value)
Specifies the end position (along the alpha gradient ramp) of the end alpha value (percents).
Read/write float
.
float getFadeDirection()
Specifies the direction to offset the reflection. (angle).
Read/write float
.
void setFadeDirection(float value)
Specifies the direction to offset the reflection. (angle).
Read/write float
.
float getStartReflectionOpacity()
Starting reflection opacity. (percents).
Read/write float
.
void setStartReflectionOpacity(float value)
Starting reflection opacity. (percents).
Read/write float
.
float getEndReflectionOpacity()
End reflection opacity. (percents).
Read/write float
.
void setEndReflectionOpacity(float value)
End reflection opacity. (percents).
Read/write float
.
double getBlurRadius()
Blur radius.
Read/write double
.
void setBlurRadius(double value)
Blur radius.
Read/write double
.
float getDirection()
Direction of reflection.
Read/write float
.
void setDirection(float value)
Direction of reflection.
Read/write float
.
double getDistance()
Distance of reflection.
Read/write double
.
void setDistance(double value)
Distance of reflection.
Read/write double
.
byte getRectangleAlign()
Rectangle alignment.
Read/write RectangleAlignment
.
void setRectangleAlign(byte value)
Rectangle alignment.
Read/write RectangleAlignment
.
double getSkewHorizontal()
Specifies the horizontal skew angle.
Read/write double
.
void setSkewHorizontal(double value)
Specifies the horizontal skew angle.
Read/write double
.
double getSkewVertical()
Specifies the vertical skew angle.
Read/write double
.
void setSkewVertical(double value)
Specifies the vertical skew angle.
Read/write double
.
boolean getRotateShadowWithShape()
Specifies whether the reflection should rotate with the shape if the shape is rotated.
Read/write boolean
.
void setRotateShadowWithShape(boolean value)
Specifies whether the reflection should rotate with the shape if the shape is rotated.
Read/write boolean
.
double getScaleHorizontal()
Specifies the horizontal scaling factor, negative scaling causes a flip. (percents)
Read/write double
.
void setScaleHorizontal(double value)
Specifies the horizontal scaling factor, negative scaling causes a flip. (percents)
Read/write double
.
double getScaleVertical()
Specifies the vertical scaling factor, negative scaling causes a flip. (percents)
Read/write double
.
void setScaleVertical(double value)
Specifies the vertical scaling factor, negative scaling causes a flip. (percents)
Read/write double
.