Android Guides | Samples

Android.Graphics.Picture Class

A Picture records drawing calls (via the canvas returned by beginRecording) and can then play them back into Canvas (via Picture.Draw(Canvas) or Canvas.DrawPicture(Picture)).

See Also: Picture

Syntax

[Android.Runtime.Register("android/graphics/Picture", DoNotGenerateAcw=true)]
public class Picture : Object

Remarks

A Picture records drawing calls (via the canvas returned by beginRecording) and can then play them back into Canvas (via Picture.Draw(Canvas) or Canvas.DrawPicture(Picture)).For most content (e.g. text, lines, rectangles), drawing a sequence from a picture can be faster than the equivalent API calls, since the picture performs its playback without incurring any method-call overhead.

[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