|
void
|
addMouseEventCallback(MouseEventCallback callback)
Adds the mosueEventCallback to the Element
|
|
Element
|
clone()
|
|
void
|
disableMask()
|
|
void
|
disableTexture()
Disables the texture.
|
|
void
|
enableMask()
|
|
void
|
enableTexture()
Enables the texture.
|
|
void
|
flip(int mode)
Flips the Element.
|
|
Color
|
getFillColor()
Returns the color of this Element's fill.
|
|
List<MouseEventCallback>
|
getMouseEventCallbacks()
Returns the callbacks that are added to the Element.
|
|
Vector3D
|
getPosition()
Gets the position of the Element.
|
|
double
|
getRotation()
Gets the rotation angle round on z-axis.
|
|
double
|
getRotationX()
Gets the rotation angle round x-axis.
|
|
double
|
getRotationY()
Gets the rotation angle round y-axis.
|
|
double
|
getRotationZ()
Gets the rotation angle round z-axis.
|
|
double
|
getScaleX()
Gets the scale of x-axis.
|
|
double
|
getScaleY()
Gets the scale of y-axis.
|
|
double
|
getScaleZ()
Gets the scale of z-axis.
|
|
Color
|
getSceneColor(Color color)
|
|
Color
|
getSceneFillColor()
|
|
Color
|
getSceneStrokeColor()
|
|
Color
|
getStrokeColor()
Returns the color of this Element's stroke.
|
|
double
|
getStrokeWidth()
Returns the width of this Element's stroke.
|
|
double
|
getX()
Gets x-coordinate of the Element.
|
|
double
|
getY()
Gets y-coordinate of the Element.
|
|
double
|
getZ()
Gets z-coordinate of the Element.
|
|
boolean
|
isDepthTest()
|
|
boolean
|
isEnableTexture()
Check texture is enable or not.
|
|
boolean
|
isFill()
|
|
boolean
|
isGradation()
|
|
boolean
|
isReset()
|
|
boolean
|
isStroke()
|
|
boolean
|
isVisible()
|
|
void
|
move(GL2 gl)
|
|
void
|
reset(GL2 gl)
|
|
void
|
setAlpha(double alpha)
|
|
void
|
setDepthTest(boolean depthTest)
|
|
void
|
setFill(boolean fill)
Enables or disables filling geometry
|
|
void
|
setFillColor(ColorSet colorSet, double alpha)
Sets the color of this Element's fill.
|
|
void
|
setFillColor(ColorSet colorSet)
Sets the color of this Element's fill.
|
|
void
|
setFillColor(Color color)
Sets the color of this Element's fill.
|
|
void
|
setFillColorAlpha(double alpha)
Sets the alpha of this Element's fill.
|
|
void
|
setGradation(boolean bool)
|
|
void
|
setMaterial(Material m)
Sets Material to this Element
|
|
void
|
setPosition(double x, double y, double z)
Sets the position of the Element in 3D.
|
|
void
|
setPosition(Vector3D v)
Sets the position of the Element in 2D.
|
|
void
|
setPosition(double x, double y)
Sets the position of the Element in 2D.
|
|
void
|
setReset(boolean reset)
|
|
void
|
setRotation(double angle)
Sets the rotation angle of the Element round on z-axis.
|
|
void
|
setRotation(double x, double y, double z)
Sets the rotation angle of the Element.
|
|
void
|
setRotation(double angle, double x, double y, double z)
Sets the rotation angle of the Element.
|
|
void
|
setRotationX(double angle)
Sets the rotation angle of the Element round on x-axis.
|
|
void
|
setRotationY(double angle)
Sets the rotation angle of the Element round on y-axis.
|
|
void
|
setRotationZ(double angle)
Sets the rotation angle of the Element round on z-axis.
|
|
void
|
setScale(double scale)
Sets the scale of the Element
|
|
void
|
setScale(double scaleX, double scaleY, double scaleZ)
Sets the scale of the Element
|
|
void
|
setScaleX(double scaleX)
Sets the scale of the Element of x-axis direction.
|
|
void
|
setScaleY(double scaleY)
Sets the scale of the Element of y-axis direction.
|
|
void
|
setScaleZ(double scaleZ)
Sets the scale of the Element of z-axis direction.
|
|
void
|
setSceneAlpha(double alpha)
|
|
void
|
setStroke(boolean stroke)
Enables or disables drawing the stroke (outline)
|
|
void
|
setStrokeColor(Color color)
Sets the color of this Element's stroke.
|
|
void
|
setStrokeColor(ColorSet colorSet)
Sets the color of this Element's stroke.
|
|
void
|
setStrokeColor(ColorSet colorSet, double alpha)
Sets the color of this Element's stroke.
|
|
void
|
setStrokeColorAlpha(double alpha)
Sets the alpha of this Element's stroke.
|
|
void
|
setStrokeWidth(double strokeWidth)
Sets the width of this Element's stroke.
|
|
void
|
setVisible(boolean visible)
Modify visibility of the Element.
|
|
void
|
setX(double x)
Sets x-coordinate of the Element.
|
|
void
|
setY(double y)
Sets y-coordinate of the Element.
|
|
void
|
setZ(double z)
Sets z-coordinate of the Element.
|
|
void
|
triggerMouseEvent(MouseStatus status, boolean selected)
|