public class MapLayer
extends java.lang.Object
| Constructor and Description |
|---|
MapLayer() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName() |
MapObjects |
getObjects() |
float |
getOffsetX() |
float |
getOffsetY() |
float |
getOpacity() |
MapProperties |
getProperties() |
boolean |
isVisible() |
void |
setName(java.lang.String name) |
void |
setOffsetX(float offsetX) |
void |
setOffsetY(float offsetY) |
void |
setOpacity(float opacity) |
void |
setVisible(boolean visible) |
public java.lang.String getName()
public void setName(java.lang.String name)
name - new name for the layerpublic float getOpacity()
public void setOpacity(float opacity)
opacity - new opacity for the layerpublic float getOffsetX()
public void setOffsetX(float offsetX)
offsetX - new x offset for the layerpublic float getOffsetY()
public void setOffsetY(float offsetY)
offsetY - new y offset for the layerpublic MapObjects getObjects()
public boolean isVisible()
public void setVisible(boolean visible)
visible - toggles layer's visibilitypublic MapProperties getProperties()