Small World Engine API Reference - v0.78.00
Preparing search index...
ForgeTool
Class ForgeTool
Abstract
Index
Constructors
constructor
Properties
_
container
_
options
Methods
get
Container
get
State
mount
on
Paste
Image
resize
set
State
unmount
Constructors
constructor
new
ForgeTool
(
options
?:
ForgeToolOptions
)
:
ForgeTool
Parameters
options
:
ForgeToolOptions
= {}
Returns
ForgeTool
Properties
Protected
_
container
_container
:
HTMLElement
Protected
_
options
_options
:
ForgeToolOptions
Methods
get
Container
getContainer
()
:
HTMLElement
Returns
HTMLElement
Abstract
get
State
getState
()
:
unknown
Returns
unknown
mount
mount
(
parent
:
HTMLElement
)
:
void
Parameters
parent
:
HTMLElement
Returns
void
on
Paste
Image
onPasteImage
(
_base64
:
string
)
:
void
Parameters
_base64
:
string
Returns
void
resize
resize
(
_w
:
number
,
_h
:
number
)
:
void
Parameters
_w
:
number
_h
:
number
Returns
void
Abstract
set
State
setState
(
state
:
unknown
)
:
void
Parameters
state
:
unknown
Returns
void
unmount
unmount
()
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_
container
_
options
Methods
get
Container
get
State
mount
on
Paste
Image
resize
set
State
unmount
Small World Engine API Reference - v0.78.00
Loading...