on Draw Canvas
Called by the implementation to hand back the canvas that holds the drawing calls of the document.
Note: There are some draw operations that are not yet supported by the canvas returned by this method. More specifically:
- Inverse path clipping performed via Canvas.clipPath(android.graphics.Path, android.graphics.Region.Op) for
Region.Op#REVERSE_DIFFERENCE
operations. - Canvas.drawVertices( android.graphics.Canvas.VertexMode, int, float[], int, float[], int, int[], int, short[], int, int, android.graphics.Paint)
- Color filters set via setColorFilter
- Mask filters set via setMaskFilter
- Some XFER modes such as PorterDuff.Mode SRC, PorterDuff.DST_ATOP, PorterDuff.XOR, PorterDuff.ADD
Parameters
canvas
Canvas that holds the drawing calls of the document.