ISurfaceHolder.LockCanvas ISurfaceHolder.LockCanvas Method

Definition

Overloads

LockCanvas() LockCanvas()

Start editing the pixels in the surface.

LockCanvas(Rect) LockCanvas(Rect)

Just like LockCanvas() but allows specification of a dirty rectangle.

LockCanvas() LockCanvas()

Start editing the pixels in the surface.

[Android.Runtime.Register("lockCanvas", "()Landroid/graphics/Canvas;", "GetLockCanvasHandler:Android.Views.ISurfaceHolderInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Android.Graphics.Canvas LockCanvas ();
abstract member LockCanvas : unit -> Android.Graphics.Canvas

Returns

Remarks

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.

LockCanvas(Rect) LockCanvas(Rect)

Just like LockCanvas() but allows specification of a dirty rectangle.

[Android.Runtime.Register("lockCanvas", "(Landroid/graphics/Rect;)Landroid/graphics/Canvas;", "GetLockCanvas_Landroid_graphics_Rect_Handler:Android.Views.ISurfaceHolderInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Android.Graphics.Canvas LockCanvas (Android.Graphics.Rect dirty);
abstract member LockCanvas : Android.Graphics.Rect -> Android.Graphics.Canvas

Parameters

dirty
Rect Rect

Area of the Surface that will be modified.

Returns

Remarks

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.

See also

Applies to