# Print output for @column tags ?>
Developers

- Design
- Develop
- Distribute

Developer Console

## Most visited

## Recently visited

## Results for

Summary: Fields | Ctors | Methods | Inherited Methods

# ViewOutlineProvider

`public abstract class ViewOutlineProvider`
`extends Object` ``

java.lang.Object
↳ | android.view.ViewOutlineProvider

Known direct subclasses RemoteViews.RemoteViewOutlineProvider
RemoteViews.RemoteViewOutlineProvider | OutlineProvider for a view with a radius set by `RemoteViews.setViewOutlinePreferredRadius(int, float, int)`.

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

## Summary

### Fields
`public static final ViewOutlineProvider` | `BACKGROUND` 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.
`public static final ViewOutlineProvider` | `BOUNDS` Maintains the outline of the View to match its rectangular bounds, at `1.0f` alpha.
`public static final ViewOutlineProvider` | `PADDED_BOUNDS` Maintains the outline of the View to match its rectangular padded bounds, at `1.0f` alpha.

### Public constructors
`ViewOutlineProvider()`

### Public methods
`abstract void` | `getOutline(View view, Outline outline)` Called to get the provider to populate the Outline.

### Inherited methods
From class `java.lang.Object`
`Object` | `clone()` Creates and returns a copy of this object.
`boolean` | `equals(Object obj)` Indicates whether some other object is "equal to" this one.
`void` | `finalize()` Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
`final Class<?>` | `getClass()` Returns the runtime class of this `Object`.
`int` | `hashCode()` Returns a hash code value for the object.
`final void` | `notify()` Wakes up a single thread that is waiting on this object's monitor.
`final void` | `notifyAll()` Wakes up all threads that are waiting on this object's monitor.
`String` | `toString()` Returns a string representation of the object.
`final void` | `wait(long timeout, int nanos)` Causes the current thread to wait until another thread invokes the `notify()` method or the `notifyAll()` method for this object, or some other thread interrupts the current thread, or a certain amount of real time has elapsed.
`final void` | `wait(long timeout)` Causes the current thread to wait until either another thread invokes the `notify()` method or the `notifyAll()` method for this object, or a specified amount of time has elapsed.
`final void` | `wait()` Causes the current thread to wait until another thread invokes the `notify()` method or the `notifyAll()` method for this object.

## Fields

### BACKGROUND

    public static final ViewOutlineProvider BACKGROUND

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.

See also:

- `Drawable.getOutline(Outline)`

### BOUNDS

    public static final ViewOutlineProvider BOUNDS

Maintains the outline of the View to match its rectangular bounds, at `1.0f` alpha. This can be used to enable Views that are opaque but lacking a background cast a shadow.

### PADDED_BOUNDS

    public static final ViewOutlineProvider PADDED_BOUNDS

Maintains the outline of the View to match its rectangular padded bounds, at `1.0f` alpha. This can be used to enable Views that are opaque but lacking a background cast a shadow.

## Public constructors

### ViewOutlineProvider

    public ViewOutlineProvider ()

## Public methods

### getOutline

    public abstract void getOutline (View view,
                    Outline outline)

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`.

Parameters
`view` | `View`: The view building the outline.
`outline` | `Outline`: The empty outline to be populated.

Full name *
Email address *
Company / developer name
One of your Play Store app URLs *
Which best describes your business:*
Apps
Games
Apps & Games
*
*