TMSRenderer

public class TMSRenderer extends Renderer

Fields

JSON_TMSRENDERER_ALPHA

protected static final String JSON_TMSRENDERER_ALPHA

JSON_TMSRENDERER_ANTIALIAS

protected static final String JSON_TMSRENDERER_ANTIALIAS

JSON_TMSRENDERER_BRIGHTNESS

protected static final String JSON_TMSRENDERER_BRIGHTNESS

JSON_TMSRENDERER_CONTRAST

protected static final String JSON_TMSRENDERER_CONTRAST

JSON_TMSRENDERER_DITHER

protected static final String JSON_TMSRENDERER_DITHER

JSON_TMSRENDERER_FILTERBMP

protected static final String JSON_TMSRENDERER_FILTERBMP

JSON_TMSRENDERER_GRAYSCALE

protected static final String JSON_TMSRENDERER_GRAYSCALE

JSON_TMSRENDERER_TYPE

protected static final String JSON_TMSRENDERER_TYPE

mAlpha

protected int mAlpha

mAntiAlias

protected boolean mAntiAlias

mBrightness

protected float mBrightness

mContrast

protected float mContrast

mDither

protected boolean mDither

mDrawThreadPool

protected ThreadPoolExecutor mDrawThreadPool

mFilterBitmap

protected boolean mFilterBitmap

mForceToGrayScale

protected boolean mForceToGrayScale

mRasterPaint

protected Paint mRasterPaint

Constructors

TMSRenderer

public TMSRenderer(ILayer layer)

Methods

cancelDraw

public void cancelDraw()

fromJSON

public void fromJSON(JSONObject jsonObject)

getAlpha

public int getAlpha()

getBrightness

public float getBrightness()

getContrast

public float getContrast()

isAntiAlias

public boolean isAntiAlias()

isForceToGrayScale

public boolean isForceToGrayScale()

runDraw

public void runDraw(GISDisplay display)

setAlpha

public void setAlpha(int alpha)

setAntiAlias

public void setAntiAlias(boolean antiAlias)

setContrastBrightness

public void setContrastBrightness(float contrast, float brightness, boolean bToGreyScale)
Параметры:
  • contrast – 0..10 1 is default
  • brightness – -255..255 0 is default

toJSON

public JSONObject toJSON()