Share via


TextureView.OnDraw(Canvas) Method

Definition

Subclasses of TextureView cannot do their own rendering with the Canvas object.

[Android.Runtime.Register("onDraw", "(Landroid/graphics/Canvas;)V", "")]
protected override sealed void OnDraw (Android.Graphics.Canvas? canvas);
[<Android.Runtime.Register("onDraw", "(Landroid/graphics/Canvas;)V", "")>]
override this.OnDraw : Android.Graphics.Canvas -> unit

Parameters

canvas
Canvas

The Canvas to which the View is rendered.

Attributes

Remarks

Subclasses of TextureView cannot do their own rendering with the Canvas object.

Java documentation for android.view.TextureView.onDraw(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.

Applies to