ReflectionEffect
Inheritance: java.lang.Object
public class ReflectionEffect
This class specifies a reflection effect.
Methods
Method | Description |
---|---|
equals(Object arg0) | |
getBlur() | Gets the blur radius,in unit of points. |
getClass() | |
getDirection() | Gets the direction of the alpha gradient ramp relative to the shape itself. |
getDistance() | Gets how far to distance the shadow,in unit of points. |
getFadeDirection() | Gets the direction to offset the reflection. |
getRotWithShape() | Gets if the reflection should rotate with the shape. |
getSize() | Gets the end position (along the alpha gradient ramp) of the end alpha value,in unit of percentage |
getTransparency() | Gets the degree of the starting reflection transparency as a value from 0.0 (opaque) through 1.0 (clear). |
getType() | Gets the preset reflection effect. |
hashCode() | |
notify() | |
notifyAll() | |
setBlur(double value) | Sets the blur radius,in unit of points. |
setDirection(double value) | Sets the direction of the alpha gradient ramp relative to the shape itself. |
setDistance(double value) | Sets how far to distance the shadow,in unit of points. |
setFadeDirection(double value) | Sets the direction to offset the reflection. |
setRotWithShape(boolean value) | Sets if the reflection should rotate with the shape. |
setSize(double value) | Sets the end position (along the alpha gradient ramp) of the end alpha value,in unit of percentage |
setTransparency(double value) | Sets the degree of the starting reflection transparency as a value from 0.0 (opaque) through 1.0 (clear). |
setType(int value) | Sets the preset reflection effect. |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getBlur()
public double getBlur()
Gets the blur radius,in unit of points.
Returns: double
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getDirection()
public double getDirection()
Gets the direction of the alpha gradient ramp relative to the shape itself.
Returns: double
getDistance()
public double getDistance()
Gets how far to distance the shadow,in unit of points.
Returns: double
getFadeDirection()
public double getFadeDirection()
Gets the direction to offset the reflection.
Returns: double
getRotWithShape()
public boolean getRotWithShape()
Gets if the reflection should rotate with the shape.
Returns: boolean
getSize()
public double getSize()
Gets the end position (along the alpha gradient ramp) of the end alpha value,in unit of percentage
Returns: double
getTransparency()
public double getTransparency()
Gets the degree of the starting reflection transparency as a value from 0.0 (opaque) through 1.0 (clear).
Returns: double
getType()
public int getType()
Gets the preset reflection effect.
See ReflectionEffectType.
Returns: int
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setBlur(double value)
public void setBlur(double value)
Sets the blur radius,in unit of points.
Parameters:
Parameter | Type | Description |
---|---|---|
value | double |
setDirection(double value)
public void setDirection(double value)
Sets the direction of the alpha gradient ramp relative to the shape itself.
Parameters:
Parameter | Type | Description |
---|---|---|
value | double |
setDistance(double value)
public void setDistance(double value)
Sets how far to distance the shadow,in unit of points.
Parameters:
Parameter | Type | Description |
---|---|---|
value | double |
setFadeDirection(double value)
public void setFadeDirection(double value)
Sets the direction to offset the reflection.
Parameters:
Parameter | Type | Description |
---|---|---|
value | double |
setRotWithShape(boolean value)
public void setRotWithShape(boolean value)
Sets if the reflection should rotate with the shape.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setSize(double value)
public void setSize(double value)
Sets the end position (along the alpha gradient ramp) of the end alpha value,in unit of percentage
Parameters:
Parameter | Type | Description |
---|---|---|
value | double |
setTransparency(double value)
public void setTransparency(double value)
Sets the degree of the starting reflection transparency as a value from 0.0 (opaque) through 1.0 (clear).
Parameters:
Parameter | Type | Description |
---|---|---|
value | double |
setType(int value)
public void setType(int value)
Sets the preset reflection effect.
See ReflectionEffectType.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |