Package | Description |
---|---|
org.osmdroid.views.overlay.compass | |
org.osmdroid.views.overlay.mylocation | |
org.osmdroid.views.safecanvas |
Modifier and Type | Field and Description |
---|---|
protected SafePaint |
CompassOverlay.mPaint |
Modifier and Type | Field and Description |
---|---|
protected SafePaint |
MyLocationNewOverlay.mCirclePaint |
protected SafePaint |
MyLocationNewOverlay.mPaint |
Modifier and Type | Method and Description |
---|---|
void |
SafeTranslatedCanvas.drawArc(android.graphics.Rect oval,
float startAngle,
float sweepAngle,
boolean useCenter,
SafePaint paint) |
void |
ISafeCanvas.drawArc(android.graphics.Rect oval,
float startAngle,
float sweepAngle,
boolean useCenter,
SafePaint paint)
Draw the specified arc, which will be scaled to fit inside the specified oval.
|
void |
SafeTranslatedCanvas.drawBitmap(android.graphics.Bitmap bitmap,
double left,
double top,
SafePaint paint) |
void |
ISafeCanvas.drawBitmap(android.graphics.Bitmap bitmap,
double left,
double top,
SafePaint paint)
Draw the specified bitmap, with its top/left corner at (x,y), using the specified paint,
transformed by the current matrix.
|
void |
SafeTranslatedCanvas.drawBitmap(android.graphics.Bitmap bitmap,
android.graphics.Matrix matrix,
SafePaint paint) |
void |
ISafeCanvas.drawBitmap(android.graphics.Bitmap bitmap,
android.graphics.Matrix matrix,
SafePaint paint)
Draw the bitmap using the specified matrix.
|
void |
SafeTranslatedCanvas.drawBitmap(android.graphics.Bitmap bitmap,
android.graphics.Rect src,
android.graphics.Rect dst,
SafePaint paint) |
void |
ISafeCanvas.drawBitmap(android.graphics.Bitmap bitmap,
android.graphics.Rect src,
android.graphics.Rect dst,
SafePaint paint)
Draw the specified bitmap, scaling/translating automatically to fill the destination
rectangle.
|
void |
SafeTranslatedCanvas.drawBitmap(int[] colors,
int offset,
int stride,
double x,
double y,
int width,
int height,
boolean hasAlpha,
SafePaint paint) |
void |
ISafeCanvas.drawBitmap(int[] colors,
int offset,
int stride,
double x,
double y,
int width,
int height,
boolean hasAlpha,
SafePaint paint)
Treat the specified array of colors as a bitmap, and draw it.
|
void |
SafeTranslatedCanvas.drawBitmap(int[] colors,
int offset,
int stride,
int x,
int y,
int width,
int height,
boolean hasAlpha,
SafePaint paint) |
void |
ISafeCanvas.drawBitmap(int[] colors,
int offset,
int stride,
int x,
int y,
int width,
int height,
boolean hasAlpha,
SafePaint paint)
Legacy version of drawBitmap(int[] colors, ...) that took ints for x,y
|
void |
SafeTranslatedCanvas.drawBitmapMesh(android.graphics.Bitmap bitmap,
int meshWidth,
int meshHeight,
double[] verts,
int vertOffset,
int[] colors,
int colorOffset,
SafePaint paint) |
void |
ISafeCanvas.drawBitmapMesh(android.graphics.Bitmap bitmap,
int meshWidth,
int meshHeight,
double[] verts,
int vertOffset,
int[] colors,
int colorOffset,
SafePaint paint)
Draw the bitmap through the mesh, where mesh vertices are evenly distributed across the
bitmap.
|
void |
SafeTranslatedCanvas.drawCircle(double cx,
double cy,
float radius,
SafePaint paint) |
void |
ISafeCanvas.drawCircle(double cx,
double cy,
float radius,
SafePaint paint)
Draw the specified circle using the specified paint.
|
void |
SafeTranslatedCanvas.drawLine(double startX,
double startY,
double stopX,
double stopY,
SafePaint paint) |
void |
ISafeCanvas.drawLine(double startX,
double startY,
double stopX,
double stopY,
SafePaint paint)
Draw a line segment with the specified start and stop x,y coordinates, using the specified
paint.
|
void |
SafeTranslatedCanvas.drawLines(double[] pts,
int offset,
int count,
SafePaint paint) |
void |
ISafeCanvas.drawLines(double[] pts,
int offset,
int count,
SafePaint paint)
Draw a series of lines.
|
void |
SafeTranslatedCanvas.drawLines(double[] pts,
SafePaint paint) |
void |
ISafeCanvas.drawLines(double[] pts,
SafePaint paint) |
void |
SafeTranslatedCanvas.drawOval(android.graphics.Rect oval,
SafePaint paint) |
void |
ISafeCanvas.drawOval(android.graphics.Rect oval,
SafePaint paint)
Draw the specified oval using the specified paint.
|
void |
SafeTranslatedCanvas.drawPaint(SafePaint paint) |
void |
ISafeCanvas.drawPaint(SafePaint paint)
Fill the entire canvas' bitmap (restricted to the current clip) with the specified paint.
|
void |
SafeTranslatedCanvas.drawPath(SafeTranslatedPath path,
SafePaint paint) |
void |
ISafeCanvas.drawPath(SafeTranslatedPath path,
SafePaint paint)
Draw the specified path using the specified paint.
|
void |
SafeTranslatedCanvas.drawPoint(double x,
double y,
SafePaint paint) |
void |
ISafeCanvas.drawPoint(double x,
double y,
SafePaint paint)
Helper for drawPoints() for drawing a single point.
|
void |
SafeTranslatedCanvas.drawPoints(double[] pts,
int offset,
int count,
SafePaint paint) |
void |
ISafeCanvas.drawPoints(double[] pts,
int offset,
int count,
SafePaint paint)
Draw a series of points.
|
void |
SafeTranslatedCanvas.drawPoints(double[] pts,
SafePaint paint) |
void |
ISafeCanvas.drawPoints(double[] pts,
SafePaint paint)
Helper for drawPoints() that assumes you want to draw the entire array
|
void |
SafeTranslatedCanvas.drawPosText(char[] text,
int index,
int count,
double[] pos,
SafePaint paint) |
void |
ISafeCanvas.drawPosText(char[] text,
int index,
int count,
double[] pos,
SafePaint paint)
Draw the text in the array, with each character's origin specified by the pos array.
|
void |
SafeTranslatedCanvas.drawPosText(String text,
double[] pos,
SafePaint paint) |
void |
ISafeCanvas.drawPosText(String text,
double[] pos,
SafePaint paint)
Draw the text in the array, with each character's origin specified by the pos array.
|
void |
SafeTranslatedCanvas.drawRect(double left,
double top,
double right,
double bottom,
SafePaint paint) |
void |
ISafeCanvas.drawRect(double left,
double top,
double right,
double bottom,
SafePaint paint)
Draw the specified Rect using the specified paint.
|
void |
SafeTranslatedCanvas.drawRect(android.graphics.Rect r,
SafePaint paint) |
void |
ISafeCanvas.drawRect(android.graphics.Rect r,
SafePaint paint)
Draw the specified Rect using the specified Paint.
|
void |
SafeTranslatedCanvas.drawRoundRect(android.graphics.Rect rect,
float rx,
float ry,
SafePaint paint) |
void |
ISafeCanvas.drawRoundRect(android.graphics.Rect rect,
float rx,
float ry,
SafePaint paint)
Draw the specified round-rect using the specified paint.
|
void |
SafeTranslatedCanvas.drawText(char[] text,
int index,
int count,
double x,
double y,
SafePaint paint) |
void |
ISafeCanvas.drawText(char[] text,
int index,
int count,
double x,
double y,
SafePaint paint)
Draw the text, with origin at (x,y), using the specified paint.
|
void |
SafeTranslatedCanvas.drawText(CharSequence text,
int start,
int end,
double x,
double y,
SafePaint paint) |
void |
ISafeCanvas.drawText(CharSequence text,
int start,
int end,
double x,
double y,
SafePaint paint)
Draw the specified range of text, specified by start/end, with its origin at (x,y), in the
specified Paint.
|
void |
SafeTranslatedCanvas.drawText(String text,
double x,
double y,
SafePaint paint) |
void |
ISafeCanvas.drawText(String text,
double x,
double y,
SafePaint paint)
Draw the text, with origin at (x,y), using the specified paint.
|
void |
SafeTranslatedCanvas.drawText(String text,
int start,
int end,
double x,
double y,
SafePaint paint) |
void |
ISafeCanvas.drawText(String text,
int start,
int end,
double x,
double y,
SafePaint paint)
Draw the text, with origin at (x,y), using the specified paint.
|
void |
SafeTranslatedCanvas.drawTextOnPath(char[] text,
int index,
int count,
SafeTranslatedPath path,
float hOffset,
float vOffset,
SafePaint paint) |
void |
ISafeCanvas.drawTextOnPath(char[] text,
int index,
int count,
SafeTranslatedPath path,
float hOffset,
float vOffset,
SafePaint paint)
Draw the text, with origin at (x,y), using the specified paint, along the specified path.
|
void |
SafeTranslatedCanvas.drawTextOnPath(String text,
SafeTranslatedPath path,
float hOffset,
float vOffset,
SafePaint paint) |
void |
ISafeCanvas.drawTextOnPath(String text,
SafeTranslatedPath path,
float hOffset,
float vOffset,
SafePaint paint)
Draw the text, with origin at (x,y), using the specified paint, along the specified path.
|
void |
SafeTranslatedCanvas.drawVertices(android.graphics.Canvas.VertexMode mode,
int vertexCount,
double[] verts,
int vertOffset,
float[] texs,
int texOffset,
int[] colors,
int colorOffset,
short[] indices,
int indexOffset,
int indexCount,
SafePaint paint) |
void |
ISafeCanvas.drawVertices(android.graphics.Canvas.VertexMode mode,
int vertexCount,
double[] verts,
int vertOffset,
float[] texs,
int texOffset,
int[] colors,
int colorOffset,
short[] indices,
int indexOffset,
int indexCount,
SafePaint paint)
Draw the array of vertices, interpreted as triangles (based on mode).
|
int |
SafeTranslatedCanvas.saveLayer(double left,
double top,
double right,
double bottom,
SafePaint paint,
int saveFlags) |
int |
ISafeCanvas.saveLayer(double left,
double top,
double right,
double bottom,
SafePaint paint,
int saveFlags)
Helper version of saveLayer() that takes 4 values rather than a RectF.
|
int |
SafeTranslatedCanvas.saveLayer(android.graphics.Rect bounds,
SafePaint paint,
int saveFlags) |
int |
ISafeCanvas.saveLayer(android.graphics.Rect bounds,
SafePaint paint,
int saveFlags)
This behaves the same as save(), but in addition it allocates an offscreen bitmap.
|
Copyright © 2014. All Rights Reserved.