Compartir a través de


Intent.SourceBounds Property

Definition

Get the bounds of the sender of this intent, in screen coordinates. -or- Set the bounds of the sender of this intent, in screen coordinates.

public virtual Android.Graphics.Rect? SourceBounds { [Android.Runtime.Register("getSourceBounds", "()Landroid/graphics/Rect;", "GetGetSourceBoundsHandler")] get; [Android.Runtime.Register("setSourceBounds", "(Landroid/graphics/Rect;)V", "GetSetSourceBounds_Landroid_graphics_Rect_Handler")] set; }
[<get: Android.Runtime.Register("getSourceBounds", "()Landroid/graphics/Rect;", "GetGetSourceBoundsHandler")>]
[<set: Android.Runtime.Register("setSourceBounds", "(Landroid/graphics/Rect;)V", "GetSetSourceBounds_Landroid_graphics_Rect_Handler")>]
member this.SourceBounds : Android.Graphics.Rect with get, set

Property Value

Attributes

Remarks

Property getter documentation:

Get the bounds of the sender of this intent, in screen coordinates. This can be used as a hint to the receiver for animations and the like. Null means that there is no source bounds.

Java documentation for android.content.Intent.getSourceBounds().

Property setter documentation:

Set the bounds of the sender of this intent, in screen coordinates. This can be used as a hint to the receiver for animations and the like. Null means that there is no source bounds.

Java documentation for android.content.Intent.setSourceBounds(android.graphics.Rect).

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