java.lang.Object
de.grogra.imp.overlay.Overlay
A set of Nodes that are displayed on top of a View.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(OverlayShape n) voidclear()voidThe renderer is the managing object that deal with the rendering.Get the center point of the shapes.floatGet radius of the shapes. aka the biggest distance between the center and the outer part of the shape.booleanisEmpty()booleanTest if the given node is in the shapes of the overlay
-
Constructor Details
-
Overlay
public Overlay()
-
-
Method Details
-
add
-
clear
public void clear() -
isEmpty
public boolean isEmpty() -
isInShape
Test if the given node is in the shapes of the overlay -
draw
The renderer is the managing object that deal with the rendering. (RenderState in imp 3d)- Parameters:
renderer-
-
getCenter
Get the center point of the shapes. -
getRadius
public float getRadius()Get radius of the shapes. aka the biggest distance between the center and the outer part of the shape.
-