Share via


ViewOutlineProvider.GetOutline(View, Outline) Method

Definition

Called to get the provider to populate the Outline.

[Android.Runtime.Register("getOutline", "(Landroid/view/View;Landroid/graphics/Outline;)V", "GetGetOutline_Landroid_view_View_Landroid_graphics_Outline_Handler")]
public abstract void GetOutline (Android.Views.View? view, Android.Graphics.Outline? outline);
[<Android.Runtime.Register("getOutline", "(Landroid/view/View;Landroid/graphics/Outline;)V", "GetGetOutline_Landroid_view_View_Landroid_graphics_Outline_Handler")>]
abstract member GetOutline : Android.Views.View * Android.Graphics.Outline -> unit

Parameters

view
View

The view building the outline.

outline
Outline

The empty outline to be populated.

Attributes

Remarks

Called to get the provider to populate the Outline.

This method will be called by a View when its owned Drawables are invalidated, when the View's size changes, or if View#invalidateOutline() is called explicitly.

The input outline is empty and has an alpha of 1.0f.

Java documentation for android.view.ViewOutlineProvider.getOutline(android.view.View, android.graphics.Outline).

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