Reflection

Reflection class

Represents a Reflection effect.

equals

NameDescription
equals(Object)Determines whether the specified Reflection is equal to the current Reflection.

Parameters:

NameTypeDescription
objObjectThe Reflection to compare.

Returns: boolean


getBlurRadius

NameDescription
getBlurRadius()Blur radius. Read/write double.

Returns: double


getDirection

NameDescription
getDirection()Direction of reflection. Read/write float.

Returns: float


getDistance

NameDescription
getDistance()Distance of reflection. Read/write double.

Returns: double


getEffective

NameDescription
getEffective()Gets effective Reflection effect data with the inheritance applied.

Returns: ReflectionEffectiveData


getEndPosAlpha

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

Returns: float


getEndReflectionOpacity

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

Returns: float


getFadeDirection

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

Returns: float


getParent_IPresentationComponent

NameDescription
getParent_IPresentationComponent()

getRectangleAlign

NameDescription
getRectangleAlign()Rectangle alignment. Read/write RectangleAlignment.

Returns: byte


getRotateShadowWithShape

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

Returns: boolean


getScaleHorizontal

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

Returns: double


getScaleVertical

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

Returns: double


getSkewHorizontal

NameDescription
getSkewHorizontal()Specifies the horizontal skew angle. Read/write double.

Returns: double


getSkewVertical

NameDescription
getSkewVertical()Specifies the vertical skew angle. Read/write double.

Returns: double


getStartPosAlpha

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

Returns: float


getStartReflectionOpacity

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

Returns: float


getVersion

NameDescription
getVersion()

Returns: long


hashCode

NameDescription
hashCode()Serves as a hash function for a particular type.

Returns: int


setBlurRadius

NameDescription
setBlurRadius(double)Blur radius. Read/write double.

setDirection

NameDescription
setDirection(float)Direction of reflection. Read/write float.

setDistance

NameDescription
setDistance(double)Distance of reflection. Read/write double.

setEndPosAlpha

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

setEndReflectionOpacity

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

setFadeDirection

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

setRectangleAlign

NameDescription
setRectangleAlign(byte)Rectangle alignment. Read/write RectangleAlignment.

setRotateShadowWithShape

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

setScaleHorizontal

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

setScaleVertical

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

setSkewHorizontal

NameDescription
setSkewHorizontal(double)Specifies the horizontal skew angle. Read/write double.

setSkewVertical

NameDescription
setSkewVertical(double)Specifies the vertical skew angle. Read/write double.

setStartPosAlpha

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

setStartReflectionOpacity

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