Picture.BeginRecording(Int32, Int32) Method

Definition

To record a picture, call beginRecording() and then draw into the Canvas that is returned.

[Android.Runtime.Register("beginRecording", "(II)Landroid/graphics/Canvas;", "GetBeginRecording_IIHandler")]
public virtual Android.Graphics.Canvas BeginRecording (int width, int height);
[<Android.Runtime.Register("beginRecording", "(II)Landroid/graphics/Canvas;", "GetBeginRecording_IIHandler")>]
abstract member BeginRecording : int * int -> Android.Graphics.Canvas
override this.BeginRecording : int * int -> Android.Graphics.Canvas

Parameters

width
Int32
height
Int32

Returns

Canvas
Attributes

Remarks

Java documentation for android.graphics.Picture.beginRecording(int, int).

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