See Also: ClipDrawable
public class ClipDrawable : Drawable, Drawable+ICallback, IDisposable
A Drawable that clips another Drawable based on this Drawable's current level value. You can control how much the child Drawable gets clipped in width and height based on the level, as well as a gravity to control where it is placed in its overall container. Most often used to implement things like progress bars, by increasing the drawable's level with Drawable.SetLevel(Int32).
Note: The drawable is clipped completely and not visible when the level is 0 and fully revealed when the level is 10,000.
It can be defined in an XML file with the <clip> element. For more information, see the guide to Drawable Resources.
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1
The members of Android.Graphics.Drawables.ClipDrawable are listed below.
See Also: Drawable
Draw in its bounds (set via setBounds) respecting optional effects such as alpha (set via setAlpha) and color filter (set via setColorFilter).
Called when the drawable needs to be redrawn.
|ScheduleDrawable(Drawable, IRunnable, Int64)|
A Drawable can call this to schedule the next frame of its animation.
|ScheduleDrawable(Drawable, Action, Int64)|
Specify an alpha value for the drawable.
Specify an optional color filter for the drawable.
A Drawable can call this to unschedule an action previously scheduled with Drawable+ICallback.