public class MapLayer extends Object
Constructor and Description |
---|
MapLayer() |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
MapObjects |
getObjects() |
float |
getOpacity() |
MapProperties |
getProperties() |
boolean |
isVisible() |
void |
setName(String name) |
void |
setOpacity(float opacity) |
void |
setVisible(boolean visible) |
public String getName()
public void setName(String name)
name
- new name for the layerpublic float getOpacity()
public void setOpacity(float opacity)
opacity
- new opacity for the layerpublic MapObjects getObjects()
public boolean isVisible()
public void setVisible(boolean visible)
visible
- toggles layer's visibilitypublic MapProperties getProperties()
Copyright © 2014. All Rights Reserved.