open class XmlDrawableDecoder : VectorDecoder
XmlDrawableDecoder(resources: Resources!, resourceId: Int) XmlDrawableDecoder(resources: Resources!, uri: Uri!) |
open fun compatGetDrawable(resourceId: Int): Drawable! |
|
open static fun create(res: Resources!, resId: Int, theme: Theme!): VectorDrawableCompat!
Create a VectorDrawableCompat object. |
|
open fun decodeAsBitmap(boundsWidth: Int, boundsHeight: Int, slice: RectF!, state: DrawableState!): Bitmap! |
|
open fun decodeSize(): ImageSize! |
|
open static fun freeUpDrawableCache(drawable: Drawable!): Unit |
|
open fun getDrawable(): Drawable! |
|
open fun isStateful(): Boolean |
|
open fun recycle(): Unit |
open fun calculateImageSlice(bounds: RectF!, region: RectF!): MultiRect! |
|
open fun getBitmap(bounds: MultiRect!, sampleSize: Int): Bitmap! open fun getBitmap(slice: MultiRect!, sampleSize: Int, state: DrawableState!): Bitmap! open fun getBitmap(boundsWidth: Int, boundsHeight: Int, fitIntoBounds: Boolean, state: DrawableState!): Bitmap! open fun getBitmap(bounds: RectF!, region: RectF!): Bitmap! |
|
open fun isVector(): Boolean |