public class Layer
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
protected boolean |
swigCMemOwn |
构造器和说明 |
---|
Layer(long cPtr,
boolean cMemoryOwn) |
限定符和类型 | 方法和说明 |
---|---|
void |
delete() |
void |
deleteInGLThread() |
boolean |
equals(java.lang.Object obj)
Checks if this object is equal to the specified object.
|
protected void |
finalize() |
static long |
getCPtr(Layer obj) |
float |
getLayerBrightness() |
float |
getLayerContrast() |
float |
getLayerOpacity() |
float |
getLayerSaturation() |
int |
getPriority() |
int |
getUpdatePriority()
Returns the layer task priority of this layer.
|
int |
getUUID() |
MapRange |
getVisibleZoomRange()
Returns the visible zoom range of this layer.
|
int |
hashCode()
Returns the hash value of this object.
|
boolean |
inVisibleZoomRange(float zoomLevel) |
boolean |
isUpdateInProgress()
Tests whether this layer is being currently updated.
|
boolean |
isVisible()
Returns the visibility of this layer.
|
void |
refresh()
Refreshes the layer using old stored visibility information.
|
void |
screenClip(ScreenClipDirection direction,
float ratio) |
void |
setCullDelay(int delay)
Sets the layer culling delay.
|
void |
setLayerBrightness(float brightness) |
void |
setLayerContrast(float contrast) |
void |
setLayerOpacity(float opacity) |
void |
setLayerSaturation(float saturation) |
void |
setPriority(int priority) |
void |
setUpdatePriority(int priority)
Sets the layer task priority.
|
void |
setVisible(boolean visible)
Sets the visibility of this layer.
|
void |
setVisibleZoomRange(MapRange range)
Set the visible zoom range for this layer.
|
static Layer |
swigCreatePolymorphicInstance(long cPtr,
boolean cMemoryOwn)
Creates a polymorphic instance of the given native object.
|
java.lang.String |
swigGetClassName()
Returns the actual class name of this object.
|
java.lang.Object |
swigGetDirectorObject()
Returns the connected director object.
|
void |
update(CullState cullState)
Updates the layer using new visibility information.
|
public static long getCPtr(Layer obj)
protected void finalize()
finalize
在类中 java.lang.Object
public void delete()
public static Layer swigCreatePolymorphicInstance(long cPtr, boolean cMemoryOwn)
cPtr
- The native pointer of the instance.cMemoryOwn
- The ownership flag.public boolean equals(java.lang.Object obj)
equals
在类中 java.lang.Object
obj
- The reference object.public int hashCode()
hashCode
在类中 java.lang.Object
public int getUpdatePriority()
public void setUpdatePriority(int priority)
priority
- The new task priority for this layer, higher values get better access.public int getPriority()
public void setPriority(int priority)
public void setCullDelay(int delay)
delay
- The new culling delay in milliseconds.public boolean isVisible()
public void setVisible(boolean visible)
visible
- The new visibility state of the layer.public MapRange getVisibleZoomRange()
public void setVisibleZoomRange(MapRange range)
range
- new visible zoom rangepublic boolean inVisibleZoomRange(float zoomLevel)
public boolean isUpdateInProgress()
public void update(CullState cullState)
cullState
- The new visibilty information.public void refresh()
public void deleteInGLThread()
public void screenClip(ScreenClipDirection direction, float ratio)
public int getUUID()
public void setLayerOpacity(float opacity)
public float getLayerOpacity()
public void setLayerBrightness(float brightness)
public float getLayerBrightness()
public void setLayerContrast(float contrast)
public float getLayerContrast()
public void setLayerSaturation(float saturation)
public float getLayerSaturation()
public java.lang.String swigGetClassName()
public java.lang.Object swigGetDirectorObject()