Preparing search index...
The search index is not available
tsParticles - v3.0.0
tsParticles
tsParticles Slim Bundle
bundle
IShapeDrawer
Interface IShapeDrawer<TParticle>
interface
IShapeDrawer
<
TParticle
>
{
afterDraw
?:
(
(
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
Implemented by
Index
Properties
after
Draw?
destroy?
draw
get
Sides
Count?
init?
load
Shape?
particle
Destroy?
particle
Init?
valid
Types
Properties
Optional
after
Draw
after
Draw
?:
(
(
data
:
IShapeDrawData
<
TParticle
>
)
=>
void
)
Optional
destroy
destroy
?:
(
(
container
:
Container
)
=>
void
)
draw
draw
:
(
(
data
:
IShapeDrawData
<
TParticle
>
)
=>
void
)
Optional
get
Sides
Count
get
Sides
Count
?:
(
(
particle
:
TParticle
)
=>
number
)
Optional
init
init
?:
(
(
container
:
Container
)
=>
Promise
<
void
>
)
Optional
load
Shape
load
Shape
?:
(
(
particle
:
TParticle
)
=>
void
)
Optional
particle
Destroy
particle
Destroy
?:
(
(
particle
:
TParticle
)
=>
void
)
Optional
particle
Init
particle
Init
?:
(
(
container
:
Container
,
particle
:
TParticle
)
=>
void
)
Readonly
valid
Types
valid
Types
:
readonly
string
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
after
Draw
destroy
draw
get
Sides
Count
init
load
Shape
particle
Destroy
particle
Init
valid
Types
tsParticles - v3.0.0
Loading...