Android.Graphics.Canvas.DrawPicture Method
Save the canvas state, draw the picture, and restore the canvas state.

Syntax

[Android.Runtime.Register("drawPicture", "(Landroid/graphics/Picture;)V", "GetDrawPicture_Landroid_graphics_Picture_Handler")]
public virtual void DrawPicture (Picture picture)

Parameters

picture
The picture to be drawn

Remarks

Save the canvas state, draw the picture, and restore the canvas state. This differs from picture.draw(canvas), which does not perform any save/restore.

Note: This forces the picture to internally call Picture.EndRecording in order to prepare for playback.

[Android Documentation]

Requirements

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