telegram-charts
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Canvas
Manager
constructor
canvas
ByName
main
Canvas
create
get
get
Context
And
Scale
resize
Hierarchy
CanvasManager
Index
Constructors
constructor
Properties
canvas
ByName
main
Canvas
Methods
create
get
get
Context
And
Scale
resize
Constructors
constructor
new
Canvas
Manager
(
mainCanvas
:
HTMLCanvasElement
)
:
CanvasManager
Parameters
mainCanvas:
HTMLCanvasElement
Returns
CanvasManager
Properties
Private
canvas
ByName
canvas
ByName
:
Record
<
string
,
HTMLCanvasElement
>
Private
main
Canvas
main
Canvas
:
HTMLCanvasElement
Methods
create
create
(
name
:
string
, opts
:
CanvasOptions
)
:
CanvasRenderingContext2D
Parameters
name:
string
opts:
CanvasOptions
Returns
CanvasRenderingContext2D
get
get
(
name
:
string
)
:
HTMLCanvasElement
|
undefined
Parameters
name:
string
Returns
HTMLCanvasElement
|
undefined
Private
get
Context
And
Scale
get
Context
And
Scale
(
canvas
:
HTMLCanvasElement
, contextAttributes
?:
CanvasRenderingContext2DSettings
)
:
CanvasRenderingContext2D
Parameters
canvas:
HTMLCanvasElement
Optional
contextAttributes:
CanvasRenderingContext2DSettings
Returns
CanvasRenderingContext2D
resize
resize
(
)
:
ClientRect
|
DOMRect
Returns
ClientRect
|
DOMRect
Generated using
TypeDoc