Sdílet prostřednictvím


TextureView.Draw(Canvas) Method

Definition

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

[Android.Runtime.Register("draw", "(Landroid/graphics/Canvas;)V", "")]
public override sealed void Draw (Android.Graphics.Canvas? canvas);
[<Android.Runtime.Register("draw", "(Landroid/graphics/Canvas;)V", "")>]
override this.Draw : 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.draw(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