SESL Material
Toggle table of contents
1.12.0+1.0.31-sesl8+rev0
androidJvm
Platform filter
androidJvm
Switch theme
Search in API
SESL Material
SESL Material
/
com.google.android.material.internal
/
FadeThroughDrawable
Fade
Through
Drawable
@
RestrictTo
(
value
=
LIBRARY_GROUP
)
open
class
FadeThroughDrawable
:
Drawable
Facilitates a fade out and then a fade in of the two input drawables.
Members
Constructors
Fade
Through
Drawable
Link copied to clipboard
constructor
(
@
NonNull
fadeOutDrawable
:
Drawable
,
@
NonNull
fadeInDrawable
:
Drawable
)
Functions
draw
Link copied to clipboard
open
fun
draw
(
@
NonNull
canvas
:
Canvas
)
get
Intrinsic
Height
Link copied to clipboard
open
fun
getIntrinsicHeight
(
)
:
Int
get
Intrinsic
Width
Link copied to clipboard
open
fun
getIntrinsicWidth
(
)
:
Int
get
Minimum
Height
Link copied to clipboard
open
fun
getMinimumHeight
(
)
:
Int
get
Minimum
Width
Link copied to clipboard
open
fun
getMinimumWidth
(
)
:
Int
get
Opacity
Link copied to clipboard
open
fun
getOpacity
(
)
:
Int
is
Stateful
Link copied to clipboard
open
fun
isStateful
(
)
:
Boolean
set
Alpha
Link copied to clipboard
open
fun
setAlpha
(
alpha
:
Int
)
set
Bounds
Link copied to clipboard
open
fun
setBounds
(
left
:
Int
,
top
:
Int
,
right
:
Int
,
bottom
:
Int
)
set
Color
Filter
Link copied to clipboard
open
fun
setColorFilter
(
@
Nullable
colorFilter
:
ColorFilter
)
set
Progress
Link copied to clipboard
open
fun
setProgress
(
@
FloatRange
(
from
=
0.0
,
to
=
1.0
)
progress
:
Float
)
Sets the progress of the fade through animation.
set
State
Link copied to clipboard
open
fun
setState
(
stateSet
:
Array
<
Int
>
)
:
Boolean