Preparing search index...
The search index is not available
@lightningjs/renderer
@lightningjs/renderer
Renderer
Inspector
Class Inspector
Hierarchy
Inspector
Index
Constructors
constructor
Properties
canvas
height
root
scaleX
scaleY
width
Methods
animate
Node
create
Div
create
Node
create
Proxy
create
Text
Node
destroy
Node
set
Root
Position
update
Node
Property
Constructors
constructor
new
Inspector
(
canvas
,
settings
)
:
Inspector
Parameters
canvas
:
HTMLCanvasElement
settings
:
RendererMainSettings
Returns
Inspector
Properties
Private
canvas
canvas
:
null
|
HTMLCanvasElement
= null
Private
height
height
:
number
= 1080
Private
root
root
:
null
|
HTMLElement
= null
Private
scaleX
scaleX
:
number
= 1
Private
scaleY
scaleY
:
number
= 1
Private
width
width
:
number
= 1920
Methods
animate
Node
animate
Node
(
div
,
props
,
settings
)
:
void
Parameters
div
:
HTMLElement
props
:
CoreNodeAnimateProps
settings
:
AnimationSettings
Returns
void
create
Div
create
Div
(
id
,
properties
)
:
HTMLElement
Parameters
id
:
number
properties
:
CoreNodeProps
|
CoreTextNodeProps
Returns
HTMLElement
create
Node
create
Node
(
node
)
:
CoreNode
Parameters
node
:
CoreNode
Returns
CoreNode
create
Proxy
create
Proxy
(
node
,
div
)
:
CoreNode
|
CoreTextNode
Parameters
node
:
CoreNode
|
CoreTextNode
div
:
HTMLElement
Returns
CoreNode
|
CoreTextNode
create
Text
Node
create
Text
Node
(
node
)
:
CoreTextNode
Parameters
node
:
CoreNode
Returns
CoreTextNode
destroy
Node
destroy
Node
(
id
)
:
void
Parameters
id
:
number
Returns
void
set
Root
Position
set
Root
Position
(
)
:
void
Returns
void
update
Node
Property
update
Node
Property
(
div
,
property
,
value
)
:
void
Parameters
div
:
HTMLElement
property
:
"data"
|
"alpha"
|
"height"
|
"width"
|
"color"
|
"contain"
|
"fontFamily"
|
"fontSize"
|
"fontStretch"
|
"fontStyle"
|
"fontWeight"
|
"letterSpacing"
|
"lineHeight"
|
"scale"
|
"textAlign"
|
"verticalAlign"
|
"zIndex"
|
"text"
|
"parent"
|
"scrollY"
|
"texture"
|
"x"
|
"y"
|
"autosize"
|
"clipping"
|
"colorTop"
|
"colorBottom"
|
"colorLeft"
|
"colorRight"
|
"colorTl"
|
"colorTr"
|
"colorBr"
|
"colorBl"
|
"preventCleanup"
|
"textureOptions"
|
"shader"
|
"src"
|
"zIndexLocked"
|
"scaleX"
|
"scaleY"
|
"mount"
|
"mountX"
|
"mountY"
|
"pivot"
|
"pivotX"
|
"pivotY"
|
"rotation"
|
"rtt"
|
"imageType"
|
"srcWidth"
|
"srcHeight"
|
"srcX"
|
"srcY"
|
"strictBounds"
|
"debug"
|
"textRendererOverride"
|
"scrollable"
|
"offsetY"
|
"maxLines"
|
"textBaseline"
|
"overflowSuffix"
value
:
any
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
canvas
height
root
scaleX
scaleY
width
animate
Node
create
Div
create
Node
create
Proxy
create
Text
Node
destroy
Node
set
Root
Position
update
Node
Property
@lightningjs/renderer
Canvas
Renderer
Utils
webgl
Generated using
TypeDoc