@turbowarp/types-tw
Preparing search index...
scratch-svg-renderer
ScratchSVGRenderer
SvgElement
Class SvgElement
Index
Constructors
constructor
Accessors
attribute
Namespace
svg
xlink
xmlns
Methods
create
get
set
Constructors
constructor
new
SvgElement
()
:
SvgElement
Returns
SvgElement
Accessors
Static
attribute
Namespace
get
attributeNamespace
()
:
Record
<
string
,
string
>
Returns
Record
<
string
,
string
>
Static
svg
get
svg
()
:
string
Returns
string
Static
xlink
get
xlink
()
:
string
Returns
string
Static
xmlns
get
xmlns
()
:
string
Returns
string
Methods
Static
create
create
(
tag
:
string
,
attributes
?:
Record
<
string
,
string
|
number
>
,
formatter
?:
(
n
:
number
)
=>
string
,
)
:
SVGElement
Parameters
tag
:
string
Optional
attributes
:
Record
<
string
,
string
|
number
>
Optional
formatter
:
(
n
:
number
)
=>
string
Returns
SVGElement
Static
get
get
(
node
:
SVGElement
,
attributeName
:
string
)
:
string
|
null
Parameters
node
:
SVGElement
attributeName
:
string
Returns
string
|
null
Static
set
set
(
node
:
SVGElement
,
attributes
?:
Record
<
string
,
string
|
number
>
,
formatter
?:
(
n
:
number
)
=>
string
,
)
:
SVGElement
Parameters
node
:
SVGElement
Optional
attributes
:
Record
<
string
,
string
|
number
>
Optional
formatter
:
(
n
:
number
)
=>
string
Returns
SVGElement
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Accessors
attribute
Namespace
svg
xlink
xmlns
Methods
create
get
set
@turbowarp/types-tw
Loading...