Rachel
Toggle table of contents
3.5.0
common
Target filter
common
Switch theme
Search in API
Skip to content
Rachel
love.yinlin.compose.plugin.game
/
love.yinlin.compose.game.animation
/
LineFrameAnimation
Line
Frame
Animation
@
Stable
class
LineFrameAnimation
(
totalFrame
:
Int
,
isInfinite
:
Boolean
=
false
,
adapter
:
FrameAdapter
?
=
null
)
:
FrameAnimation
Members
Constructors
Line
Frame
Animation
Link copied to clipboard
constructor
(
totalFrame
:
Int
,
isInfinite
:
Boolean
=
false
,
adapter
:
FrameAdapter
?
=
null
)
Properties
frame
Link copied to clipboard
var
frame
:
Int
is
Completed
Link copied to clipboard
val
isCompleted
:
Boolean
progress
Link copied to clipboard
val
progress
:
Float
total
Link copied to clipboard
var
total
:
Int
Functions
reset
Link copied to clipboard
fun
reset
(
totalFrame
:
Int
?
=
null
)
start
Link copied to clipboard
fun
start
(
totalFrame
:
Int
?
=
null
)
update
Link copied to clipboard
fun
update
(
)
:
Boolean
with
Progress
Link copied to clipboard
inline
fun
withProgress
(
block
:
(
Float
)
->
Unit
)
inline
fun
withProgress
(
transform
:
(
Boolean
,
Float
)
->
Float
,
block
:
(
Float
)
->
Unit
)