tsParticles - v0.0.0
Preparing search index...
tsParticles Emitters Shape Polygon Plugin
EmittersPolygonShape
EmittersPolygonShape
Class EmittersPolygonShape
Hierarchy
EmitterShapeBase
<
EmittersPolygonShapeOptions
>
EmittersPolygonShape
Index
Constructors
constructor
Properties
angle
fill
options
polygon
position
sides
size
Methods
init
random
Position
resize
Constructors
constructor
new
EmittersPolygonShape
(
position
:
ICoordinates
,
size
:
IDimension
,
fill
:
boolean
,
options
:
EmittersPolygonShapeOptions
,
)
:
EmittersPolygonShape
Parameters
position
:
ICoordinates
size
:
IDimension
fill
:
boolean
options
:
EmittersPolygonShapeOptions
Returns
EmittersPolygonShape
Properties
angle
angle
:
number
fill
fill
:
boolean
options
options
:
EmittersPolygonShapeOptions
polygon
polygon
:
ICoordinates
[]
position
position
:
ICoordinates
sides
sides
:
number
size
size
:
IDimension
Methods
init
init
()
:
Promise
<
void
>
Returns
Promise
<
void
>
random
Position
randomPosition
()
:
IRandomPositionData
|
null
Returns
IRandomPositionData
|
null
resize
resize
(
position
:
ICoordinates
,
size
:
IDimension
)
:
void
Parameters
position
:
ICoordinates
size
:
IDimension
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
angle
fill
options
polygon
position
sides
size
Methods
init
random
Position
resize
tsParticles - v0.0.0
Loading...