Share via


Picture Constructors

Definition

Overloads

Picture()

Creates an empty picture that is ready to record.

Picture(Picture)

Create a picture by making a copy of what has already been recorded in src.

Picture(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

Picture()

Creates an empty picture that is ready to record.

[Android.Runtime.Register(".ctor", "()V", "")]
public Picture ();
Attributes

Remarks

Creates an empty picture that is ready to record.

Java documentation for android.graphics.Picture.Picture().

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

Picture(Picture)

Create a picture by making a copy of what has already been recorded in src.

[Android.Runtime.Register(".ctor", "(Landroid/graphics/Picture;)V", "")]
public Picture (Android.Graphics.Picture? src);
[<Android.Runtime.Register(".ctor", "(Landroid/graphics/Picture;)V", "")>]
new Android.Graphics.Picture : Android.Graphics.Picture -> Android.Graphics.Picture

Parameters

src
Picture
Attributes

Remarks

Create a picture by making a copy of what has already been recorded in src. The contents of src are unchanged, and if src changes later, those changes will not be reflected in this picture.

Java documentation for android.graphics.Picture.Picture(android.graphics.Picture).

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

Picture(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected Picture (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Graphics.Picture : nativeint * Android.Runtime.JniHandleOwnership -> Android.Graphics.Picture

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

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