Search
Preparing search index...
The search index is not available
@blinkk/degu
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
dom
CanvasImageSequence
Class CanvasImageSequence
Hierarchy
CanvasImageSequence
Index
Constructors
constructor
Properties
is
Playing
lerp
Amount
Methods
dispose
flush
get
Active
Images
get
Hex
Color
AtPoint
get
Image
Size
load
load
New
Set
make
Image
play
render
ByProgress
resize
set
Clip
Interpolations
set
Multi
Interpolation
set
Sizing
Options
stop
Constructors
constructor
new
Canvas
Image
Sequence
(
element
:
HTMLElement
, imageSets
:
Array
<
CanvasImageSequenceImageSet
>
, options
:
CanvasImageSequenceOptions
, dpr
:
number
)
:
CanvasImageSequence
Parameters
element:
HTMLElement
imageSets:
Array
<
CanvasImageSequenceImageSet
>
Optional
options:
CanvasImageSequenceOptions
Optional
dpr:
number
Returns
CanvasImageSequence
Properties
is
Playing
is
Playing
:
boolean
lerp
Amount
lerp
Amount
:
number
= 1
Methods
dispose
dispose
(
)
:
void
Returns
void
flush
flush
(
)
:
void
Returns
void
get
Active
Images
get
Active
Images
(
)
:
Array
<
string
>
Returns
Array
<
string
>
get
Hex
Color
AtPoint
get
Hex
Color
AtPoint
(
coords
:
Vector
)
:
string
Parameters
coords:
Vector
Returns
string
get
Image
Size
get
Image
Size
(
)
:
Object
Returns
Object
load
load
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
load
New
Set
load
New
Set
(
imageSets
:
Array
<
CanvasImageSequenceImageSet
>
)
:
void
Parameters
imageSets:
Array
<
CanvasImageSequenceImageSet
>
Returns
void
make
Image
make
Image
(
source
:
string
)
:
Promise
<
HTMLImageElement
|
null
>
Parameters
source:
string
Returns
Promise
<
HTMLImageElement
|
null
>
play
play
(
from
:
number
, to
:
number
, duration
:
number
)
:
Promise
<
void
>
Parameters
from:
number
to:
number
duration:
number
Returns
Promise
<
void
>
Promise A promise that completes when done.
render
ByProgress
render
ByProgress
(
n
:
number
, noMultiInterpolate
?:
boolean
)
:
void
Parameters
n:
number
Default value
noMultiInterpolate:
boolean
= false
Returns
void
resize
resize
(
)
:
void
Returns
void
set
Clip
Interpolations
set
Clip
Interpolations
(
config
:
CanvasImageSequenceClipInterpolationConfig
)
:
void
Parameters
config:
CanvasImageSequenceClipInterpolationConfig
Returns
void
set
Multi
Interpolation
set
Multi
Interpolation
(
interpolations
:
Array
<
rangedProgress
>
)
:
void
Parameters
interpolations:
Array
<
rangedProgress
>
Returns
void
set
Sizing
Options
set
Sizing
Options
(
options
:
CanvasImageSequenceOptions
)
:
void
Parameters
options:
CanvasImageSequenceOptions
Returns
void
stop
stop
(
)
:
void
Returns
void
Globals
"index"
angular
arrayf
components
datguif
debug
dom
ease
func
interpolate
is
iterable-
iterator
loader
map
mathf
objectf
pseudo-
3d-
canvas
raf
setf
shaders
string
threef
time
ui
x
Canvas
Image
Sequence
constructor
is
Playing
lerp
Amount
dispose
flush
get
Active
Images
get
Hex
Color
AtPoint
get
Image
Size
load
load
New
Set
make
Image
play
render
ByProgress
resize
set
Clip
Interpolations
set
Multi
Interpolation
set
Sizing
Options
stop