Uses of Class
edu.umd.cs.piccolo.PLayer

Packages that use PLayer
Package
Description
Piccolo is a general-purpose Java-based engine that supports 2D visualizations.
  • Uses of PLayer in edu.umd.cs.piccolo

    Methods in edu.umd.cs.piccolo that return PLayer
    Modifier and Type
    Method
    Description
    PCamera.getLayer(int index)
    Return the layer at the specified position in the list of layers viewed by this camera.
    PCanvas.getLayer()
    Return layer for this canvas.
    PCamera.removeLayer(int index)
    Removes the element at the specified position from the list of layers viewed by this camera.
    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.
    Methods in edu.umd.cs.piccolo with parameters of type PLayer
    Modifier and Type
    Method
    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.
    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.