Language

WindowInsetsAnimation.Bounds.Inset(Insets) Method

Definition

Insets both the lower and upper bound by the specified insets. This is to be used in Callback.onStart to indicate that a part of the insets has been used to offset or clip its children, and the children shouldn't worry about that part anymore.

[Android.Runtime.Register("inset", "(Landroid/graphics/Insets;)Landroid/view/WindowInsetsAnimation$Bounds;", "", ApiSince=30)]
public Android.Views.WindowInsetsAnimation.Bounds Inset(Android.Graphics.Insets insets);
[<Android.Runtime.Register("inset", "(Landroid/graphics/Insets;)Landroid/view/WindowInsetsAnimation$Bounds;", "", ApiSince=30)>]
member this.Inset : Android.Graphics.Insets -> Android.Views.WindowInsetsAnimation.Bounds

Parameters

insets
Insets

The Android.Graphics.Insets value used for insets.

Returns

The result of the inset operation.

Attributes

Remarks

For details, see the Android reference documentation for android.view.WindowInsetsAnimation.Bounds.inset.

Java documentation for android.view.WindowInsetsAnimation.Bounds.inset.

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