6.3.1.5.12. TMSRenderer

public class TMSRenderer extends Renderer

6.3.1.5.12.1. Fields

6.3.1.5.12.1.1. JSON_TMSRENDERER_ALPHA

protected static final String JSON_TMSRENDERER_ALPHA

6.3.1.5.12.1.2. JSON_TMSRENDERER_ANTIALIAS

protected static final String JSON_TMSRENDERER_ANTIALIAS

6.3.1.5.12.1.3. JSON_TMSRENDERER_BRIGHTNESS

protected static final String JSON_TMSRENDERER_BRIGHTNESS

6.3.1.5.12.1.4. JSON_TMSRENDERER_CONTRAST

protected static final String JSON_TMSRENDERER_CONTRAST

6.3.1.5.12.1.5. JSON_TMSRENDERER_DITHER

protected static final String JSON_TMSRENDERER_DITHER

6.3.1.5.12.1.6. JSON_TMSRENDERER_FILTERBMP

protected static final String JSON_TMSRENDERER_FILTERBMP

6.3.1.5.12.1.7. JSON_TMSRENDERER_GRAYSCALE

protected static final String JSON_TMSRENDERER_GRAYSCALE

6.3.1.5.12.1.8. JSON_TMSRENDERER_TYPE

protected static final String JSON_TMSRENDERER_TYPE

6.3.1.5.12.1.9. mAlpha

protected int mAlpha

6.3.1.5.12.1.10. mAntiAlias

protected boolean mAntiAlias

6.3.1.5.12.1.11. mBrightness

protected float mBrightness

6.3.1.5.12.1.12. mContrast

protected float mContrast

6.3.1.5.12.1.13. mDither

protected boolean mDither

6.3.1.5.12.1.14. mDrawThreadPool

protected ThreadPoolExecutor mDrawThreadPool

6.3.1.5.12.1.15. mFilterBitmap

protected boolean mFilterBitmap

6.3.1.5.12.1.16. mForceToGrayScale

protected boolean mForceToGrayScale

6.3.1.5.12.1.17. mRasterPaint

protected Paint mRasterPaint

6.3.1.5.12.2. Constructors

6.3.1.5.12.2.1. TMSRenderer

public TMSRenderer(ILayer layer)

6.3.1.5.12.3. Methods

6.3.1.5.12.3.1. cancelDraw

public void cancelDraw()

6.3.1.5.12.3.2. fromJSON

public void fromJSON(JSONObject jsonObject)

6.3.1.5.12.3.3. getAlpha

public int getAlpha()

6.3.1.5.12.3.4. getBrightness

public float getBrightness()

6.3.1.5.12.3.5. getContrast

public float getContrast()

6.3.1.5.12.3.6. isAntiAlias

public boolean isAntiAlias()

6.3.1.5.12.3.7. isForceToGrayScale

public boolean isForceToGrayScale()

6.3.1.5.12.3.8. runDraw

public void runDraw(GISDisplay display)

6.3.1.5.12.3.9. setAlpha

public void setAlpha(int alpha)

6.3.1.5.12.3.10. setAntiAlias

public void setAntiAlias(boolean antiAlias)

6.3.1.5.12.3.11. setContrastBrightness

public void setContrastBrightness(float contrast, float brightness, boolean bToGreyScale)
Parameters:
  • contrast – 0..10 1 is default
  • brightness – -255..255 0 is default

6.3.1.5.12.3.12. toJSON

public JSONObject toJSON()