限定符和类型 | 方法和说明 |
---|---|
int |
getOpaqueRate()
返回影像图层的不透明度。
|
Color |
getTransparentColor()
返回透明色。
|
int |
getTransparentColorTolerance()
返回透明色容限(0~255)
|
boolean |
isRenderingWithMultiResolution()
返回是否多分辨率渲染。
|
boolean |
isTransparent()
返回是否使用透明色并且以容限范围内的透明度来显示。
|
void |
setOpaqueRate(int value)
设置影像图层的不透明度。
|
void |
setRenderingWithMultiResolution(boolean renderingWithMultiResolution)
设置是否多分辨率渲染。
|
void |
setTransparent(boolean transparent)
设置是否使用透明色并且以容限范围内的透明度来显示。
|
void |
setTransparentColor(Color color)
设置透明色
|
void |
setTransparentColorTolerance(int colorTolerance)
设置透明色容限(0~255)
|
clearCustomClipPlane, clipByBox, fromXML, getAlphaReject, getBounds, getBoxClipPart, getCaption, getClipBox, getClipLineColor, getCustomClipCross, getCustomClipPlane, getDataName, getDescription, getEditFeature, getExtendXML, getFeatures, getFilterPixelSize, getMapServiceType, getMaxObjectVisibleDistance, getMaxVisibleAltitude, getMinObjectVisibleDistance, getMinVisibleAltitude, getMixColorType, getName, getParentGroup, getParentLayer, getPassword, getReceiveSunLight, getReleaseWhenInvisible, getSelection, getShdowType, getSnap, getSwipeRegion, getType, getVisibleDistance, getVisibleInViewport, hasLocalCache, isAlwaysRender, isChangedToLayerStyle, isDisposed, isEditable, isSelectable, isShadowEnable, isSketchMode, isSwipeEnable, isVisible, isWebDatasource, setAlphaReject, setAlwaysRender, setCaption, setChangedToLayerStyle, setClipLineColor, setCustomClipCross, setCustomClipPlane, setDescription, setEditable, setFilterPixelSize, setLocalCache, setMaxObjectVisibleDistance, setMaxVisibleAltitude, setMinObjectVisibleDistance, setMinVisibleAltitude, setMixColorType, setParentGroup, setParentLayer, setReceiveSunLight, setReleaseWhenInvisible, setSelectable, setSelection, setShadowEnable, setShadowType, setSkecthMode, setSketchMode, setSnap, setSwipeEnable, setSwipeRegion, setVisible, setVisibleDistance, setVisibleInViewport, toXML, updateData
public int getOpaqueRate()
public void setOpaqueRate(int value)
value
- 影像图层的不透明度。该属性值范围0-100,0表示完全透明,100表示不透明。public boolean isTransparent()
public void setTransparent(boolean transparent)
transparent
- 是否使用透明色并且以容限范围内的透明度来显示。public Color getTransparentColor()
public void setTransparentColor(Color color)
color
- 透明色public int getTransparentColorTolerance()
public void setTransparentColorTolerance(int colorTolerance)
colorTolerance
- 透明色容限(0~255)public boolean isRenderingWithMultiResolution()
public void setRenderingWithMultiResolution(boolean renderingWithMultiResolution)
renderingWithMultiResolution
- 是否多分辨率渲染。
参数设置为 true 时,以多分辨率渲染,效果图如下:
参数设置为 false 时,以一种分辨率渲染,效果图如下:
Copyright © 2021–2024 SuperMap. All rights reserved.