Surface.UnlockCanvasAndPost(Canvas) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Posts the new contents of the Canvas
to the surface and
releases the Canvas
.
[Android.Runtime.Register("unlockCanvasAndPost", "(Landroid/graphics/Canvas;)V", "GetUnlockCanvasAndPost_Landroid_graphics_Canvas_Handler")]
public virtual void UnlockCanvasAndPost (Android.Graphics.Canvas? canvas);
[<Android.Runtime.Register("unlockCanvasAndPost", "(Landroid/graphics/Canvas;)V", "GetUnlockCanvasAndPost_Landroid_graphics_Canvas_Handler")>]
abstract member UnlockCanvasAndPost : Android.Graphics.Canvas -> unit
override this.UnlockCanvasAndPost : Android.Graphics.Canvas -> unit
Parameters
- canvas
- Canvas
The canvas previously obtained from #lockCanvas
.
- Attributes
Remarks
Posts the new contents of the Canvas
to the surface and releases the Canvas
.
Java documentation for android.view.Surface.unlockCanvasAndPost(android.graphics.Canvas)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.