public class PictureDrawable extends Drawable
Drawable.Callback, Drawable.ConstantState| Constructor and Description |
|---|
PictureDrawable(Picture picture) |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(Canvas canvas) |
int |
getIntrinsicHeight() |
int |
getIntrinsicWidth() |
int |
getOpacity() |
Picture |
getPicture() |
void |
setAlpha(int alpha) |
void |
setColorFilter(ColorFilter colorFilter) |
void |
setDither(boolean dither) |
void |
setFilterBitmap(boolean filter) |
void |
setPicture(Picture picture) |
clearColorFilter, copyBounds, copyBounds, createFromPath, createFromResourceStream, createFromResourceStream, createFromStream, createFromXml, createFromXmlInner, getBounds, getCallback, getChangingConfigurations, getConstantState, getCurrent, getLevel, getMinimumHeight, getMinimumWidth, getPadding, getState, getTransparentRegion, inflate, invalidateSelf, isStateful, isVisible, jumpToCurrentState, mutate, onBoundsChange, onLevelChange, onStateChange, resolveOpacity, scheduleSelf, setBounds, setBounds, setCallback, setChangingConfigurations, setColorFilter, setLevel, setState, setVisible, unscheduleSelfpublic PictureDrawable(Picture picture)
public Picture getPicture()
public void setPicture(Picture picture)
public int getIntrinsicWidth()
getIntrinsicWidth in class Drawablepublic int getIntrinsicHeight()
getIntrinsicHeight in class Drawablepublic int getOpacity()
getOpacity in class Drawablepublic void setFilterBitmap(boolean filter)
setFilterBitmap in class Drawablepublic void setColorFilter(ColorFilter colorFilter)
setColorFilter in class DrawableCopyright © 2008-2013. All Rights Reserved.