Aracılığıyla paylaş


PictureDrawable.Picture Property

Definition

Return the picture associated with the drawable. -or- Associate a picture with this drawable.

public virtual Android.Graphics.Picture? Picture { [Android.Runtime.Register("getPicture", "()Landroid/graphics/Picture;", "GetGetPictureHandler")] get; [Android.Runtime.Register("setPicture", "(Landroid/graphics/Picture;)V", "GetSetPicture_Landroid_graphics_Picture_Handler")] set; }
[<get: Android.Runtime.Register("getPicture", "()Landroid/graphics/Picture;", "GetGetPictureHandler")>]
[<set: Android.Runtime.Register("setPicture", "(Landroid/graphics/Picture;)V", "GetSetPicture_Landroid_graphics_Picture_Handler")>]
member this.Picture : Android.Graphics.Picture with get, set

Property Value

the picture associated with the drawable, or null.

Attributes

Remarks

Property getter documentation:

Return the picture associated with the drawable. May be null.

Java documentation for android.graphics.drawable.PictureDrawable.getPicture().

Property setter documentation:

Associate a picture with this drawable. The picture may be null.

Java documentation for android.graphics.drawable.PictureDrawable.setPicture(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