@pretty-chitty/core
Preparing search index...
StaticImage
Class StaticImage
Hierarchy (
View Summary
)
ParameterizedCanvas
StaticImage
Index
Accessors
material
Constructors
constructor
Methods
set
get
render
material
texture
Properties
width
height
image
Info
Accessors
material
get
material
()
:
Material
Returns
Material
Constructors
constructor
new
StaticImage
(
image
:
ImageSpec
,
overlayColor
?:
string
,
backgroundColor
?:
string
,
)
:
StaticImage
Parameters
image
:
ImageSpec
Optional
overlayColor
:
string
Optional
backgroundColor
:
string
Returns
StaticImage
Methods
set
set
(
cb
:
(
chit
:
this
)
=>
void
)
:
this
Parameters
cb
:
(
chit
:
this
)
=>
void
Returns
this
get
get
()
:
IUpdatingCanvas
Returns
IUpdatingCanvas
Protected
render
render
()
:
Element
Returns
Element
Static
material
material
(
image
:
ImageSpec
,
options
?:
StaticImageOptions
)
:
Material
Parameters
image
:
ImageSpec
Optional
options
:
StaticImageOptions
Returns
Material
Static
texture
texture
(
image
:
ImageSpec
,
options
?:
StaticImageOptions
)
:
Texture
Parameters
image
:
ImageSpec
Optional
options
:
StaticImageOptions
Returns
Texture
Properties
width
width
:
number
= 100
height
height
:
number
= 100
Protected
image
Info
imageInfo
:
string
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Accessors
material
Constructors
constructor
Methods
set
get
render
material
texture
Properties
width
height
image
Info
@pretty-chitty/core
Loading...