tsParticles - v0.0.0
Preparing search index...
tsParticles Full Bundle
bundle
IShapeDrawer
Interface IShapeDrawer<TParticle>
interface
IShapeDrawer
<
TParticle
extends
Particle
=
Particle
>
{
afterDraw
?:
(
data
:
IShapeDrawData
<
TParticle
>
)
=>
void
;
beforeDraw
?:
(
data
:
IShapeDrawData
<
TParticle
>
)
=>
void
;
destroy
?:
(
container
:
Container
)
=>
void
;
draw
:
(
data
:
IShapeDrawData
<
TParticle
>
)
=>
void
;
getSidesCount
?:
(
particle
:
TParticle
)
=>
number
;
init
?:
(
container
:
Container
)
=>
Promise
<
void
>
;
loadShape
?:
(
particle
:
TParticle
)
=>
void
;
particleDestroy
?:
(
particle
:
TParticle
)
=>
void
;
particleInit
?:
(
container
:
Container
,
particle
:
TParticle
)
=>
void
;
validTypes
:
readonly
string
[]
;
}
Type Parameters
TParticle
extends
Particle
=
Particle
Index
Properties
after
Draw?
before
Draw?
destroy?
draw
get
Sides
Count?
init?
load
Shape?
particle
Destroy?
particle
Init?
valid
Types
Properties
Optional
after
Draw
afterDraw
?:
(
data
:
IShapeDrawData
<
TParticle
>
)
=>
void
Optional
before
Draw
beforeDraw
?:
(
data
:
IShapeDrawData
<
TParticle
>
)
=>
void
Optional
destroy
destroy
?:
(
container
:
Container
)
=>
void
draw
draw
:
(
data
:
IShapeDrawData
<
TParticle
>
)
=>
void
Optional
get
Sides
Count
getSidesCount
?:
(
particle
:
TParticle
)
=>
number
Optional
init
init
?:
(
container
:
Container
)
=>
Promise
<
void
>
Optional
load
Shape
loadShape
?:
(
particle
:
TParticle
)
=>
void
Optional
particle
Destroy
particleDestroy
?:
(
particle
:
TParticle
)
=>
void
Optional
particle
Init
particleInit
?:
(
container
:
Container
,
particle
:
TParticle
)
=>
void
Readonly
valid
Types
validTypes
:
readonly
string
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
after
Draw
before
Draw
destroy
draw
get
Sides
Count
init
load
Shape
particle
Destroy
particle
Init
valid
Types
tsParticles - v0.0.0
Loading...