iink-ts - v3.2.1
Preparing search index...
SVGBuilder
Class SVGBuilder
Index
Constructors
constructor
Methods
create
Circle
create
Component
Transfert
create
Defs
create
Drop
Shadow
create
Filter
create
Foreign
Object
create
Group
create
Layer
create
Line
create
Marker
create
Path
create
Polygon
create
Rect
create
Text
create
Transfert
Function
Table
create
T
Span
Constructors
constructor
new
SVGBuilder
()
:
SVGBuilder
Returns
SVGBuilder
Methods
Static
create
Circle
createCircle
(
p
:
TPoint
,
r
:
number
,
attrs
?:
{
[
key
:
string
]:
string
}
,
)
:
SVGCircleElement
Parameters
p
:
TPoint
r
:
number
attrs
:
{
[
key
:
string
]:
string
}
= {}
Returns
SVGCircleElement
Static
create
Component
Transfert
createComponentTransfert
()
:
SVGFEComponentTransferElement
Returns
SVGFEComponentTransferElement
Static
create
Defs
createDefs
()
:
SVGDefsElement
Returns
SVGDefsElement
Static
create
Drop
Shadow
createDropShadow
(
__namedParameters
:
{
color
?:
string
;
deviation
?:
number
;
dx
?:
number
;
dy
?:
number
;
opacity
?:
number
;
}
,
)
:
SVGFEDropShadowElement
Parameters
__namedParameters
:
{
color
?:
string
;
deviation
?:
number
;
dx
?:
number
;
dy
?:
number
;
opacity
?:
number
;
}
Returns
SVGFEDropShadowElement
Static
create
Filter
createFilter
(
id
:
string
,
attrs
?:
{
[
key
:
string
]:
string
}
)
:
SVGFilterElement
Parameters
id
:
string
attrs
:
{
[
key
:
string
]:
string
}
= {}
Returns
SVGFilterElement
Static
create
Foreign
Object
createForeignObject
(
box
:
TBox
,
node
:
HTMLElement
,
attrs
?:
{
[
key
:
string
]:
string
}
,
)
:
SVGForeignObjectElement
Parameters
box
:
TBox
node
:
HTMLElement
attrs
:
{
[
key
:
string
]:
string
}
= {}
Returns
SVGForeignObjectElement
Static
create
Group
createGroup
(
attrs
?:
{
[
key
:
string
]:
string
}
)
:
SVGGElement
Parameters
attrs
:
{
[
key
:
string
]:
string
}
= {}
Returns
SVGGElement
Static
create
Layer
createLayer
(
boundingBox
:
TBox
,
attrs
?:
{
[
key
:
string
]:
string
}
)
:
SVGSVGElement
Parameters
boundingBox
:
TBox
attrs
:
{
[
key
:
string
]:
string
}
= {}
Returns
SVGSVGElement
Static
create
Line
createLine
(
p1
:
TPoint
,
p2
:
TPoint
,
attrs
?:
{
[
key
:
string
]:
string
}
,
)
:
SVGLineElement
Parameters
p1
:
TPoint
p2
:
TPoint
attrs
:
{
[
key
:
string
]:
string
}
= {}
Returns
SVGLineElement
Static
create
Marker
createMarker
(
id
:
string
,
attrs
?:
{
[
key
:
string
]:
string
}
)
:
SVGMarkerElement
Parameters
id
:
string
attrs
:
{
[
key
:
string
]:
string
}
= {}
Returns
SVGMarkerElement
Static
create
Path
createPath
(
attrs
?:
{
[
key
:
string
]:
string
}
)
:
SVGPathElement
Parameters
attrs
:
{
[
key
:
string
]:
string
}
= {}
Returns
SVGPathElement
Static
create
Polygon
createPolygon
(
points
:
number
[]
,
attrs
?:
{
[
key
:
string
]:
string
}
,
)
:
SVGPolylineElement
Parameters
points
:
number
[]
attrs
:
{
[
key
:
string
]:
string
}
= {}
Returns
SVGPolylineElement
Static
create
Rect
createRect
(
box
:
TBox
,
attrs
?:
{
[
key
:
string
]:
string
}
)
:
SVGRectElement
Parameters
box
:
TBox
attrs
:
{
[
key
:
string
]:
string
}
= {}
Returns
SVGRectElement
Static
create
Text
createText
(
p
:
TPoint
,
text
:
string
,
attrs
?:
{
[
key
:
string
]:
string
}
,
)
:
SVGTextElement
Parameters
p
:
TPoint
text
:
string
attrs
:
{
[
key
:
string
]:
string
}
= {}
Returns
SVGTextElement
Static
create
Transfert
Function
Table
createTransfertFunctionTable
(
type
:
"feFuncA"
|
"feFuncB"
|
"feFuncG"
|
"feFuncR"
,
values
:
string
,
)
:
SVGFEFuncAElement
Parameters
type
:
"feFuncA"
|
"feFuncB"
|
"feFuncG"
|
"feFuncR"
values
:
string
Returns
SVGFEFuncAElement
Static
create
T
Span
createTSpan
(
text
:
string
,
attrs
?:
{
[
key
:
string
]:
string
}
)
:
SVGTSpanElement
Parameters
text
:
string
attrs
:
{
[
key
:
string
]:
string
}
= {}
Returns
SVGTSpanElement
Settings
Member Visibility
Protected
Inherited
Alpha
Beta
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
create
Circle
create
Component
Transfert
create
Defs
create
Drop
Shadow
create
Filter
create
Foreign
Object
create
Group
create
Layer
create
Line
create
Marker
create
Path
create
Polygon
create
Rect
create
Text
create
Transfert
Function
Table
create
T
Span
iink-ts - v3.2.1
Loading...