Class ReflectionEffect
java.lang.Object
com.independentsoft.office.drawing.ReflectionEffect
The Class ReflectionEffect.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the alignment.Gets the blur radius.intGets the direction.Gets the distance.intGets the end opacity.intGets the end position.intGets the fade direction.intGets the horizontal ration.intGets the horizontal skew.intGets the start opacity.intGets the start position.intGets the vertical ration.intGets the vertical skew.booleanChecks if is rotate with shape.voidsetAlignment(RectangleAlignment alignment)Sets the alignment.voidsetBlurRadius(Unit blurRadius)Sets the blur radius.voidsetDirection(int direction)Sets the direction.voidsetDistance(Unit distance)Sets the distance.voidsetEndOpacity(int endOpacity)Sets the end opacity.voidsetEndPosition(int endPosition)Sets the end position.voidsetFadeDirection(int fadeDirection)Sets the fade direction.voidsetHorizontalRation(int horizontalRatio)Sets the horizontal ration.voidsetHorizontalSkew(int horizontalSkew)Sets the horizontal skew.voidsetRotateWithShape(boolean rotateWithShape)Sets the rotate with shape.voidsetStartOpacity(int startOpacity)Sets the start opacity.voidsetStartPosition(int startPosition)Sets the start position.voidsetVerticalRation(int verticalRatio)Sets the vertical ration.voidsetVerticalSkew(int verticalSkew)Sets the vertical skew.toString()
-
Constructor Details
-
ReflectionEffect
public ReflectionEffect()Instantiates a new reflection effect.
-
-
Method Details
-
clone
-
toString
-
getAlignment
Gets the alignment.- Returns:
- the alignment
-
setAlignment
Sets the alignment.- Parameters:
alignment- the new alignment
-
getBlurRadius
Gets the blur radius.- Returns:
- the blur radius
-
setBlurRadius
Sets the blur radius.- Parameters:
blurRadius- the new blur radius
-
getDirection
public int getDirection()Gets the direction.- Returns:
- the direction
-
setDirection
public void setDirection(int direction)Sets the direction.- Parameters:
direction- the new direction
-
getDistance
Gets the distance.- Returns:
- the distance
-
setDistance
Sets the distance.- Parameters:
distance- the new distance
-
getHorizontalSkew
public int getHorizontalSkew()Gets the horizontal skew.- Returns:
- the horizontal skew
-
setHorizontalSkew
public void setHorizontalSkew(int horizontalSkew)Sets the horizontal skew.- Parameters:
horizontalSkew- the new horizontal skew
-
getVerticalSkew
public int getVerticalSkew()Gets the vertical skew.- Returns:
- the vertical skew
-
setVerticalSkew
public void setVerticalSkew(int verticalSkew)Sets the vertical skew.- Parameters:
verticalSkew- the new vertical skew
-
isRotateWithShape
public boolean isRotateWithShape()Checks if is rotate with shape.- Returns:
- true, if is rotate with shape
-
setRotateWithShape
public void setRotateWithShape(boolean rotateWithShape)Sets the rotate with shape.- Parameters:
rotateWithShape- the new rotate with shape
-
getHorizontalRation
public int getHorizontalRation()Gets the horizontal ration.- Returns:
- the horizontal ration
-
setHorizontalRation
public void setHorizontalRation(int horizontalRatio)Sets the horizontal ration.- Parameters:
horizontalRatio- the new horizontal ration
-
getVerticalRation
public int getVerticalRation()Gets the vertical ration.- Returns:
- the vertical ration
-
setVerticalRation
public void setVerticalRation(int verticalRatio)Sets the vertical ration.- Parameters:
verticalRatio- the new vertical ration
-
getEndOpacity
public int getEndOpacity()Gets the end opacity.- Returns:
- the end opacity
-
setEndOpacity
public void setEndOpacity(int endOpacity)Sets the end opacity.- Parameters:
endOpacity- the new end opacity
-
getEndPosition
public int getEndPosition()Gets the end position.- Returns:
- the end position
-
setEndPosition
public void setEndPosition(int endPosition)Sets the end position.- Parameters:
endPosition- the new end position
-
getFadeDirection
public int getFadeDirection()Gets the fade direction.- Returns:
- the fade direction
-
setFadeDirection
public void setFadeDirection(int fadeDirection)Sets the fade direction.- Parameters:
fadeDirection- the new fade direction
-
getStartOpacity
public int getStartOpacity()Gets the start opacity.- Returns:
- the start opacity
-
setStartOpacity
public void setStartOpacity(int startOpacity)Sets the start opacity.- Parameters:
startOpacity- the new start opacity
-
getStartPosition
public int getStartPosition()Gets the start position.- Returns:
- the start position
-
setStartPosition
public void setStartPosition(int startPosition)Sets the start position.- Parameters:
startPosition- the new start position
-