Canvas

Page 1 2 3

public void drawLines(float[] pts, Paint paint) source
public void drawPoint(float x, float y, Paint paint) source
public void drawPoints(float[] pts, int offset, int count, Paint paint) source
public void drawPoints(float[] pts, Paint paint) source
public void drawPath(Path path, Paint paint) source

Bitmaps

public void drawBitmap(Bitmap bitmap, float left, float top, Paint paint) source
public void drawBitmap(Bitmap bitmap, Rect src, RectF dst, Paint paint) source
public void drawBitmap(Bitmap bitmap, Rect src, Rect dst, Paint paint) source
public void drawBitmap(Bitmap bitmap, Matrix m, Paint paint) source
public void drawBitmap(int[] colors, int offset, int stride, float x, float y, int width, int height, boolean hasAlpha, Paint paint) deprecated source
public void drawBitmap(int[] colors, int offset, int stride, int x, int y, int width, int height, boolean hasAlpha, Paint paint) deprecated source
public void drawBitmapMesh(Bitmap bitmap, int meshWidth, int meshHeight, float[] verts, int vertOffset, int[] colors, int colorOffset, Paint paint) source
public void drawVertices(VertexMode mode, int vertexCount, float[] verts, int vertOffset, float[] texs, int texOffset, int[] colors, int colorOffset, short[] indices, int indexOffset, int indexCount, Paint paint) source
public void drawPatch(NinePatch patch, Rect dst, Paint paint) source
public void drawPatch(NinePatch patch, RectF dst, Paint paint) source

Pictures and nodes

public void drawPicture(Picture picture) source
public void drawPicture(Picture picture, RectF dst) source
public void drawPicture(Picture picture, Rect dst) source
public void drawRenderNode(RenderNode renderNode) source

Text

public void drawText(char[] text, int index, int count, float x, float y, Paint paint) source
public void drawText(String text, float x, float y, Paint paint) source
public void drawText(String text, int start, int end, float x, float y, Paint paint) source
public void drawText(CharSequence text, int start, int end, float x, float y, Paint paint) source
public void drawTextRun(char[] text, int index, int count, int contextIndex, int contextCount, float x, float y, boolean isRtl, Paint paint) source
public void drawTextRun(CharSequence text, int start, int end, int contextStart, int contextEnd, float x, float y, boolean isRtl, Paint paint) source
public void drawTextRun(android.graphics.text.MeasuredText text, int start, int end, int contextStart, int contextEnd, float x, float y, boolean isRtl, Paint paint) source
public void drawPosText(char[] text, int index, int count, float[] pos, Paint paint) deprecated source
public void drawPosText(String text, float[] pos, Paint paint) deprecated source
public void drawTextOnPath(char[] text, int index, int count, Path path, float hOffset, float vOffset, Paint paint) source
public void drawTextOnPath(String text, Path path, float hOffset, float vOffset, Paint paint) source
public void drawGlyphs(int[] glyphIds, int glyphIdOffset, float[] positions, int positionOffset, int glyphCount, android.graphics.fonts.Font font, Paint paint) source

Page 1 2 3


Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.