ComparableGradientDrawable

open class ComparableGradientDrawable(orientation: GradientDrawable.Orientation = Orientation.TOP_BOTTOM, colors: IntArray? = null) : GradientDrawable, ComparableDrawable

A comparable gradient drawable.

Constructors

Link copied to clipboard
constructor(orientation: GradientDrawable.Orientation = Orientation.TOP_BOTTOM, colors: IntArray? = null)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun applyTheme(p0: Resources.Theme)
Link copied to clipboard
open override fun canApplyTheme(): Boolean
Link copied to clipboard
open fun clearColorFilter()
Link copied to clipboard
Link copied to clipboard
open override fun draw(p0: Canvas)
Link copied to clipboard
open operator override fun equals(o: Any?): Boolean
Link copied to clipboard
open override 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
open override fun getColorFilter(): ColorFilter?
Link copied to clipboard
open fun getColors(): IntArray?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getCurrent(): Drawable
Link copied to clipboard
open fun getDirtyBounds(): Rect
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getGradientType(): Int
Link copied to clipboard
open fun getHotspotBounds(p0: Rect)
Link copied to clipboard
open fun getInnerRadius(): Int
Link copied to clipboard
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 fun getMinimumHeight(): Int
Link copied to clipboard
open fun getMinimumWidth(): Int
Link copied to clipboard
open override fun getOpacity(): Int
Link copied to clipboard
open override fun getOpticalInsets(): Insets
Link copied to clipboard
Link copied to clipboard
open override fun getOutline(p0: Outline)
Link copied to clipboard
open override fun getPadding(p0: Rect): Boolean
Link copied to clipboard
open fun getShape(): Int
Link copied to clipboard
open fun getState(): IntArray
Link copied to clipboard
open fun getThickness(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getUseLevel(): Boolean
Link copied to clipboard
open override fun hasFocusStateSpecified(): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun inflate(p0: Resources, p1: XmlPullParser, p2: AttributeSet, p3: Resources.Theme?)
Link copied to clipboard
open fun invalidateSelf()
Link copied to clipboard
Link copied to clipboard
open override fun isEquivalentTo(other: ComparableDrawable): Boolean
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
open override fun mutate(): Drawable
Link copied to clipboard
Link copied to clipboard
open fun scheduleSelf(p0: Runnable, p1: Long)
Link copied to clipboard
open override fun setAlpha(p0: 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
Link copied to clipboard
open override fun setColor(color: ColorStateList?)
open override fun setColor(color: Int)
Link copied to clipboard
open override fun setColorFilter(p0: ColorFilter?)
Link copied to clipboard
open fun setColors(p0: IntArray?, p1: FloatArray?)
open override fun setColors(colors: IntArray?)
Link copied to clipboard
open override fun setCornerRadii(cornerRadii: FloatArray?)
Link copied to clipboard
open override fun setCornerRadius(cornerRadius: Float)
Link copied to clipboard
open override fun setDither(p0: Boolean)
Link copied to clipboard
open fun setFilterBitmap(p0: Boolean)
Link copied to clipboard
open fun setGradientCenter(p0: Float, p1: Float)
Link copied to clipboard
open override fun setGradientRadius(gradientRadius: Float)
Link copied to clipboard
open override fun setGradientType(gradientType: Int)
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
open fun setInnerRadius(p0: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun setLevel(p0: Int): Boolean
Link copied to clipboard
Link copied to clipboard
open fun setPadding(p0: Int, p1: Int, p2: Int, p3: Int)
Link copied to clipboard
open override fun setShape(shape: Int)
Link copied to clipboard
open override fun setSize(width: Int, height: Int)
Link copied to clipboard
open fun setState(p0: IntArray): Boolean
Link copied to clipboard
open fun setStroke(p0: Int, p1: ColorStateList)
open fun setStroke(p0: Int, p1: Int)
open override fun setStroke(width: Int, colorStateList: ColorStateList, dashWidth: Float, dashGap: Float)
open override fun setStroke(width: Int, @ColorInt color: Int, dashWidth: Float, dashGap: Float)
Link copied to clipboard
open fun setThickness(p0: Int)
Link copied to clipboard
open fun setThicknessRatio(p0: Float)
Link copied to clipboard
open fun setTint(p0: Int)
Link copied to clipboard
open override fun setTintBlendMode(p0: BlendMode)
Link copied to clipboard
open override fun setTintList(p0: ColorStateList?)
Link copied to clipboard
Link copied to clipboard
open fun setUseLevel(p0: Boolean)
Link copied to clipboard
open fun setVisible(p0: Boolean, p1: Boolean): Boolean
Link copied to clipboard
open fun unscheduleSelf(p0: Runnable)