Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
Display
Interface Display
Index
Methods
absX
absY
blitImage
blitRgbImage
blitStringImage
clear
copyImage
drawImage
fillRect
finishTile
getCleanDirtyReset
get_context
get_height
get_width
renderQ_push
resize
set_height
set_scale
set_width
startTile
subTile
viewportChange
Methods
public
absX
(
x
:
number
)
:
number
Parameters
x:
number
Returns
number
public
absY
(
y
:
number
)
:
number
Parameters
y:
number
Returns
number
public
blitImage
(
x
:
number
, y
:
number
, width
:
number
, height
:
number
, arr
:
Array<any>
, offset
:
number
)
Parameters
x:
number
y:
number
width:
number
height:
number
arr:
Array<any>
offset:
number
public
blitRgbImage
(
x
:
number
, y
:
number
, width
:
number
, height
:
number
, arr
:
Array<any>
, offset
:
number
)
Parameters
x:
number
y:
number
width:
number
height:
number
arr:
Array<any>
offset:
number
public
blitStringImage
(
str
:
string
, x
:
number
, y
:
number
)
Parameters
str:
string
x:
number
y:
number
public
clear
(
)
public
copyImage
(
old_x
:
number
, old_y
:
number
, new_x
:
number
, new_y
:
number
, w
:
number
, h
:
number
)
:
any
Parameters
old_x:
number
old_y:
number
new_x:
number
new_y:
number
w:
number
h:
number
Returns
any
public
drawImage
(
img
:
HTMLImageElement
, x
:
number
, y
:
number
)
Parameters
img:
HTMLImageElement
x:
number
y:
number
public
fillRect
(
x
:
number
, y
:
number
, width
:
number
, height
:
number
, color
:
Array<number>
)
:
any
Parameters
x:
number
y:
number
width:
number
height:
number
color:
Array<number>
Returns
any
public
finishTile
(
)
public
getCleanDirtyReset
(
)
:
NvCleanDirtyBox
Returns
NvCleanDirtyBox
public
get_context
(
)
:
CanvasRenderingContext2D
Returns
CanvasRenderingContext2D
public
get_height
(
)
:
number
Returns
number
public
get_width
(
)
:
number
Returns
number
public
renderQ_push
(
action
:
NvRenderAction
)
Parameters
action:
NvRenderAction
public
resize
(
width
:
number
, height
:
number
)
Parameters
width:
number
height:
number
public
set_height
(
val
:
number
)
Parameters
val:
number
public
set_scale
(
scale
:
number
)
Parameters
scale:
number
public
set_width
(
val
:
number
)
Parameters
val:
number
public
startTile
(
x
:
number
, y
:
number
, width
:
number
, height
:
number
, color
:
Array<number>
)
:
any
Parameters
x:
number
y:
number
width:
number
height:
number
color:
Array<number>
Returns
any
public
subTile
(
x
:
number
, y
:
number
, w
:
number
, h
:
number
, color
:
Array<number>
)
:
any
Parameters
x:
number
y:
number
w:
number
h:
number
color:
Array<number>
Returns
any
public
viewportChange
(
deltaX
:
number
, deltaY
:
number
, width
:
number
, height
:
number
)
Parameters
deltaX:
number
deltaY:
number
width:
number
height:
number
Globals