public final class AndroidGraphics
extends CanvasAdapter
| Modifier and Type | Method and Description |
|---|---|
Bitmap |
decodeBitmapImpl(java.io.InputStream inputStream) |
Bitmap |
decodeBitmapImpl(java.io.InputStream inputStream,
int width,
int height,
int percent) |
Bitmap |
decodeSvgBitmapImpl(java.io.InputStream inputStream,
int width,
int height,
int percent) |
static Bitmap |
drawableToBitmap(android.graphics.drawable.Drawable drawable) |
static Bitmap |
drawableToBitmap(android.content.res.Resources res,
int resId) |
static android.graphics.Paint |
getAndroidPaint(Paint paint) |
static android.graphics.Bitmap |
getBitmap(Bitmap bitmap) |
static void |
init() |
Bitmap |
loadBitmapAssetImpl(java.lang.String relativePathPrefix,
java.lang.String src,
int width,
int height,
int percent) |
static MarkerSymbol |
makeMarker(android.graphics.drawable.Drawable drawable,
HotspotPlace place)
Deprecated.
|
static MarkerSymbol |
makeMarker(android.content.res.Resources res,
int resId,
HotspotPlace place)
Deprecated.
|
Bitmap |
newBitmapImpl(int width,
int height,
int format) |
Canvas |
newCanvasImpl() |
Paint |
newPaintImpl() |
public static void init()
public static android.graphics.Paint getAndroidPaint(Paint paint)
public static android.graphics.Bitmap getBitmap(Bitmap bitmap)
public Bitmap decodeBitmapImpl(java.io.InputStream inputStream)
public Bitmap decodeBitmapImpl(java.io.InputStream inputStream,
int width,
int height,
int percent)
public Bitmap decodeSvgBitmapImpl(java.io.InputStream inputStream,
int width,
int height,
int percent)
throws java.io.IOException
java.io.IOExceptionpublic Bitmap loadBitmapAssetImpl(java.lang.String relativePathPrefix,
java.lang.String src,
int width,
int height,
int percent)
throws java.io.IOException
java.io.IOExceptionpublic Paint newPaintImpl()
public Bitmap newBitmapImpl(int width,
int height,
int format)
public Canvas newCanvasImpl()
public static Bitmap drawableToBitmap(android.graphics.drawable.Drawable drawable)
public static Bitmap drawableToBitmap(android.content.res.Resources res,
int resId)
public static MarkerSymbol makeMarker(android.graphics.drawable.Drawable drawable,
HotspotPlace place)
public static MarkerSymbol makeMarker(android.content.res.Resources res,
int resId,
HotspotPlace place)