Android.Views.TextureView.LockCanvas Method
Just like TextureView.LockCanvas but allows specification of a dirty rectangle.

Syntax

[Android.Runtime.Register("lockCanvas", "(Landroid/graphics/Rect;)Landroid/graphics/Canvas;", "GetLockCanvas_Landroid_graphics_Rect_Handler")]
public virtual Android.Graphics.Canvas LockCanvas (Android.Graphics.Rect dirty)

See Also

TextureView.LockCanvas
TextureView.UnlockCanvasAndPost(Android.Graphics.Canvas)
TextureView.IsAvailable

Parameters

dirty
Area of the surface that will be modified.

Returns

Documentation for this section has not yet been entered.

Remarks

Just like TextureView.LockCanvas but allows specification of a dirty rectangle. Every pixel within that rectangle must be written; however pixels outside the dirty rectangle will be preserved by the next call to lockCanvas(). This method can return null if the underlying surface texture is not available (see TextureView.IsAvailable or if the surface texture is already connected to an image producer (for instance: the camera, OpenGL, a media player, etc.)

[Android Documentation]

Requirements

Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 14