ShapeDrawableWrapper

Constructors

Link copied to clipboard
constructor(@NonNull context: Context, @NonNull shape: Shape)
constructor(@NonNull drawable: Drawable, aspectRatio: Float, scale: Float)

Inherited properties

Link copied to clipboard
open var drawable: Drawable

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Inherited functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun clearColorFilter()
Link copied to clipboard
fun copyBounds(bounds: Rect)
Link copied to clipboard
open fun createFromPath(pathName: String): Drawable
Link copied to clipboard
Link copied to clipboard
open fun createFromStream(is: InputStream, srcName: String): Drawable
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun draw(p: Canvas)
open fun draw(@NonNull canvas: Canvas)
Link copied to clipboard
open fun getAlpha(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getCurrent(): Drawable
open fun getCurrent(): Drawable
Link copied to clipboard
open fun getDirtyBounds(): Rect
Link copied to clipboard
open fun getHotspotBounds(outRect: Rect)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun getLevel(): Int
Link copied to clipboard
open fun getMinimumHeight(): Int
open fun getMinimumHeight(): Int
Link copied to clipboard
open fun getMinimumWidth(): Int
open fun getMinimumWidth(): Int
Link copied to clipboard
abstract fun getOpacity(): Int
open fun getOpacity(): Int
Link copied to clipboard
Link copied to clipboard
open fun getOutline(outline: Outline)
Link copied to clipboard
open fun getPadding(padding: Rect): Boolean
open fun getPadding(padding: Rect): Boolean
Link copied to clipboard
open fun getState(): Array<Int>
open fun getState(): Array<Int>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun inflate(r: Resources, parser: XmlPullParser, attrs: AttributeSet)
Link copied to clipboard
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 fun isStateful(): Boolean
open fun isStateful(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun mutate(): Drawable
Link copied to clipboard
open fun onLayoutDirectionChanged(layoutDirection: Int): Boolean
Link copied to clipboard
open fun resolveOpacity(op1: Int, op2: Int): Int
Link copied to clipboard
abstract fun scheduleDrawable(p: Drawable, p1: Runnable, p2: Long)
open fun scheduleDrawable(who: Drawable, what: Runnable, when: Long)
Link copied to clipboard
open fun scheduleSelf(what: Runnable, when: Long)
Link copied to clipboard
abstract fun setAlpha(p: Int)
open fun setAlpha(alpha: Int)
Link copied to clipboard
open fun setAutoMirrored(mirrored: Boolean)
open fun setAutoMirrored(mirrored: Boolean)
Link copied to clipboard
open fun setBounds(left: Int, top: Int, right: Int, bottom: Int)
Link copied to clipboard
Link copied to clipboard
open fun setChangingConfigurations(configs: Int)
open fun setChangingConfigurations(configs: Int)
Link copied to clipboard
Link copied to clipboard
open fun setDither(dither: Boolean)
open fun setDither(dither: Boolean)
Link copied to clipboard
open fun setFilterBitmap(filter: Boolean)
open fun setFilterBitmap(filter: Boolean)
Link copied to clipboard
open fun setHotspot(x: Float, y: Float)
open fun setHotspot(x: Float, y: Float)
Link copied to clipboard
open fun setHotspotBounds(left: Int, top: Int, right: Int, bottom: Int)
open fun setHotspotBounds(left: Int, top: Int, right: Int, bottom: Int)
Link copied to clipboard
fun setLayoutDirection(layoutDirection: Int): Boolean
Link copied to clipboard
fun setLevel(level: Int): Boolean
Link copied to clipboard
open fun setState(stateSet: Array<Int>): Boolean
open fun setState(stateSet: Array<Int>): Boolean
Link copied to clipboard
open fun setTint(tintColor: Int)
open fun setTint(tint: Int)
Link copied to clipboard
open fun setTintBlendMode(blendMode: BlendMode)
Link copied to clipboard
open fun setTintList(tint: ColorStateList)
open fun setTintList(tint: ColorStateList)
Link copied to clipboard
open fun setTintMode(tintMode: PorterDuff.Mode)
open fun setTintMode(tintMode: PorterDuff.Mode)
Link copied to clipboard
open fun setVisible(visible: Boolean, restart: Boolean): Boolean
open fun setVisible(visible: Boolean, restart: Boolean): Boolean
Link copied to clipboard
abstract fun unscheduleDrawable(p: Drawable, p1: Runnable)
open fun unscheduleDrawable(who: Drawable, what: Runnable)
Link copied to clipboard
open fun unscheduleSelf(what: Runnable)