Package | Description |
---|---|
org.piccolo2d |
Piccolo is a general-purpose Java-based engine that supports 2D visualizations.
|
Modifier and Type | Method and Description |
---|---|
PLayer |
PCanvas.getLayer()
Return layer for this canvas.
|
PLayer |
PCamera.getLayer(int index)
Return the layer at the specified position in the list of layers viewed by this camera.
|
PLayer |
PCamera.removeLayer(int index)
Removes the element at the specified position from the list of layers
viewed by this camera.
|
PLayer |
PCamera.removeLayer(PLayer layer)
Removes the first occurrence of the specified layer from the list of
layers viewed by this camera, if it is present.
|
Modifier and Type | Method and Description |
---|---|
void |
PCamera.addLayer(int index,
PLayer layer)
Inserts the specified layer at the specified position in the list of layers viewed by this camera.
|
void |
PCamera.addLayer(PLayer layer)
Inserts the specified layer at the end of the list of layers viewed by this camera.
|
int |
PCamera.indexOfLayer(PLayer layer)
Return the index of the first occurrence of the specified layer in the
list of layers viewed by this camera, or
-1 if the list of layers
viewed by this camera does not contain the specified layer. |
PLayer |
PCamera.removeLayer(PLayer layer)
Removes the first occurrence of the specified layer from the list of
layers viewed by this camera, if it is present.
|
void |
PCamera.repaintFromLayer(PBounds viewBounds,
PLayer repaintedLayer)
Repaint from one of the camera's layers.
|
Copyright © 1995-2013 Piccolo2D. All Rights Reserved.