Android Guides | Samples

Android.Views.ViewOutlineProvider Class

Interface by which a View builds its Outline, used for shadow casting and clipping.

See Also: ViewOutlineProvider

Syntax

[Android.Runtime.Register("android/view/ViewOutlineProvider", DoNotGenerateAcw=true)]
public abstract class ViewOutlineProvider : Object

Remarks

Interface by which a View builds its Outline, used for shadow casting and clipping.

[Android Documentation]

Requirements

Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0

The members of Android.Views.ViewOutlineProvider are listed below.

See Also: Object

Public Constructors

Protected Constructors

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

Public Properties

[read-only]
static
BackgroundViewOutlineProvider. Default outline provider for Views, which queries the Outline from the View's background, or generates a 0 alpha, rectangular Outline the size of the View if a background isn't present.
[read-only]
static
BoundsViewOutlineProvider. Maintains the outline of the View to match its rectangular bounds, at 1.0f alpha.
[read-only]
static
PaddedBoundsViewOutlineProvider. Maintains the outline of the View to match its rectangular padded bounds, at 1.0f alpha.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

abstract
GetOutline(View, Outline)
Called to get the provider to populate the Outline.