docs/javadoc/reference/com/facebook/drawee/drawable/DrawableUtils.html
|
|
Summary: Ctors | Methods | Inherited Methods | [Expand All]
public class
extends Object
| java.lang.Object | | ↳ | com.facebook.drawee.drawable.DrawableUtils |
Helper class containing functionality commonly used by drawables.
| Public Constructors |
|---|
| Public Methods |
|---|
| static Drawable |
| Clones the specified drawable. |
| static void |
| Copies various properties from one drawable to the other. |
| static int |
| Gets the opacity from a color. |
| static int |
| Multiplies the color with the given alpha. |
| static void |
| Sets callback to the drawable. |
| static void |
| Sets various paint properties on the drawable |
| [Expand] Inherited Methods | | --- | | From class java.lang.Object
| Object | clone() | | boolean | equals(Object arg0) | | void | finalize() | | final Class<?> | getClass() | | int | hashCode() | | final void | notify() | | final void | notifyAll() | | String | toString() | | final void | wait(long arg0, int arg1) | | final void | wait(long arg0) | | final void | wait() |
|
Clones the specified drawable.
| drawable | the drawable to clone. |
Copies various properties from one drawable to the other.
| to | drawable to copy properties to | | from | drawable to copy properties from |
Gets the opacity from a color. Inspired by Android ColorDrawable.
Multiplies the color with the given alpha.
| color | color to be multiplied | | alpha | value between 0 and 255 |
Sets callback to the drawable.
| drawable | drawable to set callbacks to | | callback | standard Android Drawable.Callback | | transformCallback | TransformCallback used by TransformAwareDrawables |
Sets various paint properties on the drawable
| drawable | Drawable on which to set the properties | | properties | wrapper around mValue values to set on the drawable |
+Generated by Doclava. +