- inOutDirty
- A rectangle that represents the dirty region that the caller wants to redraw. This function may choose to expand the dirty rectangle if for example the surface has been resized or if the previous contents of the surface were not available. The caller must redraw the entire dirty region as represented by the contents of the inOutDirty rectangle upon return from this function. The caller may also pass null instead, in the case where the entire surface should be redrawn.
Documentation for this section has not yet been entered.
Type Reason Java.Lang.IllegalArgumentException If the inOutDirty rectangle is not valid. !:NoType:android/view/Surface$OutOfResourcesException;Href=../../../reference/android/view/Surface.OutOfResourcesException.html If the canvas cannot be locked.
Gets a Android.Graphics.Canvas for drawing into this surface. After drawing into the provided Android.Graphics.Canvas, the caller must invoke Surface.UnlockCanvasAndPost(Android.Graphics.Canvas) to post the new contents to the surface.