Preparing search index...
The search index is not available
tsParticles - v3.0.0
tsParticles
tsParticles Polygon Mask Plugin
PolygonMaskInstance
PolygonMaskInstance
Class PolygonMaskInstance
Polygon Mask manager
Implements
IContainerPlugin
Index
Constructors
constructor
Properties
dimension
offset?
paths?
raw?
redraw
Timeout?
Methods
click
Position
Valid
draw
init
particle
Bounce
particle
Position
particles
Initialization
resize
stop
Constructors
constructor
new
Polygon
Mask
Instance
(
container
,
engine
)
:
PolygonMaskInstance
Parameters
container
:
PolygonMaskContainer
engine
:
Engine
Returns
PolygonMaskInstance
Properties
dimension
dimension
:
IDimension
Optional
offset
offset
?:
ICoordinates
Optional
paths
paths
?:
ISvgPath
[]
Optional
raw
raw
?:
ICoordinates
[]
Optional
redraw
Timeout
redraw
Timeout
?:
number
Methods
click
Position
Valid
click
Position
Valid
(
position
)
:
boolean
Parameters
position
:
ICoordinates
Returns
boolean
draw
draw
(
context
)
:
void
Parameters
context
:
CanvasRenderingContext2D
Returns
void
init
init
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
particle
Bounce
particle
Bounce
(
particle
,
delta
,
direction
)
:
boolean
Parameters
particle
:
Particle
delta
:
IDelta
direction
:
OutModeDirection
Returns
boolean
particle
Position
particle
Position
(
position
?
)
:
undefined
|
ICoordinates
Parameters
Optional
position
:
ICoordinates
Returns
undefined
|
ICoordinates
particles
Initialization
particles
Initialization
(
)
:
boolean
Returns
boolean
resize
resize
(
)
:
void
Returns
void
stop
stop
(
)
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
dimension
offset
paths
raw
redraw
Timeout
Methods
click
Position
Valid
draw
init
particle
Bounce
particle
Position
particles
Initialization
resize
stop
tsParticles - v3.0.0
Loading...
Polygon Mask manager