MatrixDrawable

class MatrixDrawable<T : Drawable?> : Drawable, Drawable.Callback, Touchable, TransitionUtils.BoundsCallback

A Drawable that wraps another drawable.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
fun bind(width: Int, height: Int)

Applies the given dimensions to the drawable. This method should be called in your component's @OnBind method.

Link copied to clipboard
Link copied to clipboard
open fun clearColorFilter()
Link copied to clipboard
Link copied to clipboard
open override fun draw(canvas: Canvas)
Link copied to clipboard
open fun getAlpha(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun getChangingConfigurations(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun getCurrent(): Drawable
Link copied to clipboard
open fun getDirtyBounds(): Rect
Link copied to clipboard
open fun getHotspotBounds(p0: Rect)
Link copied to clipboard
open override fun getIntrinsicHeight(): Int
Link copied to clipboard
open override fun getIntrinsicWidth(): Int
Link copied to clipboard
Link copied to clipboard
fun getLevel(): Int
Link copied to clipboard
open override fun getMinimumHeight(): Int
Link copied to clipboard
open override fun getMinimumWidth(): Int
Link copied to clipboard
open override fun getOpacity(): Int
Link copied to clipboard
Link copied to clipboard
open fun getOutline(p0: Outline)
Link copied to clipboard
open override fun getPadding(padding: Rect): Boolean
Link copied to clipboard
open override fun getState(): IntArray
Link copied to clipboard
open override fun getTransparentRegion(): Region?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun invalidateDrawable(who: Drawable)
Link copied to clipboard
open fun invalidateSelf()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isProjected(): Boolean
Link copied to clipboard
open override fun isStateful(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun mount(drawable: T?, matrix: DrawableMatrix? = null)

Sets the necessary artifacts to display the given drawable. This method should be called in your component's @OnMount method.

Link copied to clipboard
open fun mutate(): Drawable
Link copied to clipboard
Link copied to clipboard
open override fun onTouchEvent(event: MotionEvent, host: View): Boolean
Link copied to clipboard
open override fun onWidthHeightBoundsApplied(width: Int, height: Int)
Link copied to clipboard
open override fun onXYBoundsApplied(x: Int, y: Int)
Link copied to clipboard
open override fun scheduleDrawable(who: Drawable, what: Runnable, when: Long)
Link copied to clipboard
open fun scheduleSelf(p0: Runnable, p1: Long)
Link copied to clipboard
open override fun setAlpha(alpha: Int)
Link copied to clipboard
open fun setAutoMirrored(p0: Boolean)
Link copied to clipboard
open fun setBounds(p0: Rect)
open fun setBounds(p0: Int, p1: Int, p2: Int, p3: Int)
Link copied to clipboard
Link copied to clipboard
open override fun setChangingConfigurations(configs: Int)
Link copied to clipboard
open override fun setColorFilter(cf: ColorFilter?)
Link copied to clipboard
open override fun setDither(dither: Boolean)
Link copied to clipboard
open override fun setFilterBitmap(filter: Boolean)
Link copied to clipboard
open fun setHotspot(p0: Float, p1: Float)
Link copied to clipboard
open fun setHotspotBounds(p0: Int, p1: Int, p2: Int, p3: Int)
Link copied to clipboard
Link copied to clipboard
fun setLevel(p0: Int): Boolean
Link copied to clipboard
open override fun setState(stateSet: IntArray): Boolean
Link copied to clipboard
open fun setTint(p0: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun setVisible(visible: Boolean, restart: Boolean): Boolean
Link copied to clipboard
open override fun shouldHandleTouchEvent(event: MotionEvent): Boolean
Link copied to clipboard
fun unmount()
Link copied to clipboard
open override fun unscheduleDrawable(who: Drawable, what: Runnable)
Link copied to clipboard
open fun unscheduleSelf(p0: Runnable)