Methods Summary |
---|
public abstract int | callDrawGLFunction2(long drawGLFunction)Calls the function specified with the drawGLFunction function pointer. This is
functionality used by webkit for calling into their renderer from our display lists.
This function may return true if an invalidation is needed after the call.
|
public abstract void | drawCircle(android.graphics.CanvasProperty cx, android.graphics.CanvasProperty cy, android.graphics.CanvasProperty radius, android.graphics.CanvasProperty paint)
|
abstract void | drawHardwareLayer(HardwareLayer layer, float x, float y, android.graphics.Paint paint)Draws the specified layer onto this canvas.
|
public void | drawRenderNode(RenderNode renderNode)Draws the specified display list onto this canvas. The display list can only
be drawn if {@link android.view.RenderNode#isValid()} returns true.
drawRenderNode(renderNode, null, RenderNode.FLAG_CLIP_CHILDREN);
|
public abstract int | drawRenderNode(RenderNode renderNode, android.graphics.Rect dirty, int flags)Draws the specified display list onto this canvas.
|
public abstract void | drawRoundRect(android.graphics.CanvasProperty left, android.graphics.CanvasProperty top, android.graphics.CanvasProperty right, android.graphics.CanvasProperty bottom, android.graphics.CanvasProperty rx, android.graphics.CanvasProperty ry, android.graphics.CanvasProperty paint)
|
public boolean | isHardwareAccelerated()
return true;
|
public abstract void | onPostDraw()Invoked after all drawing operation have been performed.
|
public abstract int | onPreDraw(android.graphics.Rect dirty)Invoked before any drawing operation is performed in this canvas.
|
public void | setBitmap(android.graphics.Bitmap bitmap)
throw new UnsupportedOperationException();
|
public static void | setProperty(java.lang.String name, java.lang.String value)
GLES20Canvas.setProperty(name, value);
|