tsParticles - v4.3.1
Preparing search index...
tsParticles Slim Bundle
bundle
Background
Class Background
Hierarchy (
View Summary
)
OptionLoader
<
IBackground
>
Background
Implements
IBackground
Index
Constructors
constructor
Properties
color
draw?
element?
image
opacity
position
repeat
size
Methods
do
Load
load
Constructors
constructor
new
Background
()
:
Background
Returns
Background
Properties
color
color
:
OptionsColor
Optional
draw
draw
?:
(
context
:
BackgroundDrawContext
,
delta
:
IDelta
)
=>
void
Optional
element
element
?:
|
string
|
HTMLCanvasElement
|
OffscreenCanvas
|
HTMLVideoElement
|
HTMLImageElement
image
image
:
string
opacity
opacity
:
number
position
position
:
string
repeat
repeat
:
string
size
size
:
string
Methods
Protected
do
Load
doLoad
(
data
:
RecursivePartial
<
IBackground
>
)
:
void
Parameters
data
:
RecursivePartial
<
IBackground
>
Returns
void
load
load
(
data
?:
RecursivePartial
<
IBackground
>
)
:
void
Parameters
Optional
data
:
RecursivePartial
<
IBackground
>
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
color
draw
element
image
opacity
position
repeat
size
Methods
do
Load
load
tsParticles - v4.3.1
Loading...