Language

RecordingCanvas.DrawMesh(Mesh, BlendMode, Paint) Method

Definition

Draws a mesh object to the screen.

[Android.Runtime.Register("drawMesh", "(Landroid/graphics/Mesh;Landroid/graphics/BlendMode;Landroid/graphics/Paint;)V", "", ApiSince=34)]
public override sealed void DrawMesh(Android.Graphics.Mesh mesh, Android.Graphics.BlendMode? blendMode, Android.Graphics.Paint paint);
[<Android.Runtime.Register("drawMesh", "(Landroid/graphics/Mesh;Landroid/graphics/BlendMode;Landroid/graphics/Paint;)V", "", ApiSince=34)>]
override this.DrawMesh : Android.Graphics.Mesh * Android.Graphics.BlendMode * Android.Graphics.Paint -> unit

Parameters

mesh
Mesh

The mesh vertices and compatible specification to render.

blendMode
BlendMode

The operation that blends the paint shader or opaque paint color (source) with the mesh fragment color (destination). null selects Modulate; the operation is ignored if the mesh has no color output.

paint
Paint

The paint supplying the shader, color, and other supported mesh-rendering attributes.

Attributes

Remarks

Draws a mesh object to the screen. Note: antialiasing is not supported, therefore Paint.ANTI_ALIAS_FLAG is ignored.

Android reference for android.graphics.RecordingCanvas.drawMesh.

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