Preparing search index...
The search index is not available
sparkengineweb
sparkengineweb
DrawImageCommand
Class DrawImageCommand
Implements
RenderCommand
Index
Constructors
constructor
Properties
image
opacity
position
render
CommandID
size
Methods
execute
Constructors
constructor
new
Draw
Image
Command
(
image
,
position
,
size
,
opacity
?
)
:
DrawImageCommand
Parameters
image
:
ImageBitmap
position
:
[
number
,
number
]
size
:
[
number
,
number
]
opacity
:
number
= 100
Returns
DrawImageCommand
Properties
Readonly
image
image
:
ImageBitmap
Readonly
opacity
opacity
:
number
= 100
Readonly
position
position
:
[
number
,
number
]
Readonly
render
CommandID
render
CommandID
:
RenderCommandID
= RenderCommandID.RC_DrawImage
Readonly
size
size
:
[
number
,
number
]
Methods
execute
execute
(
ctx
,
gfx
)
:
void
Parameters
ctx
:
CanvasRenderingContext2D
gfx
:
CanvasDevice
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
image
opacity
position
render
CommandID
size
Methods
execute
sparkengineweb
Loading...