Search
Preparing search index...
The search index is not available
react-particle-image
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"universe/CanvasRenderer"
CanvasRenderer
Class CanvasRenderer
Hierarchy
Renderer
CanvasRenderer
Index
Constructors
constructor
Properties
canvas
Methods
clear
context
draw
Frame
draw
Particles
height
width
Constructors
constructor
new
Canvas
Renderer
(
canvas
:
HTMLCanvasElement
)
:
CanvasRenderer
Parameters
canvas:
HTMLCanvasElement
Returns
CanvasRenderer
Properties
canvas
canvas
:
HTMLCanvasElement
Methods
Private
clear
clear
(
)
:
void
Returns
void
Private
context
context
(
)
:
Nullable
<
CanvasRenderingContext2D
>
Returns
Nullable
<
CanvasRenderingContext2D
>
draw
Frame
draw
Frame
(
universe
:
Universe
)
:
void
Parameters
universe:
Universe
Returns
void
Private
draw
Particles
draw
Particles
(
particles
:
Particle
[]
, color
:
string
)
:
void
Parameters
particles:
Particle
[]
color:
string
Returns
void
Private
height
height
(
)
:
number
Returns
number
Private
width
width
(
)
:
number
Returns
number
Globals
"
Particle
Image/
Particle
Image"
"index"
"types"
"universe/
Array2
D"
"universe/
Canvas
Renderer"
"universe/
Particle"
"universe/
Particle
Force"
"universe/
Pixel
Manager"
"universe/
Renderer"
"universe/
Simulator"
"universe/
Subverse"
"universe/
Universe"
"universe/
Vector"
"universe/forces"
"universe/timing"
Canvas
Renderer
constructor
canvas
clear
context
draw
Frame
draw
Particles
height
width
Generated using
TypeDoc