Methods
Static
createCircle
- createCircle(p, r, attrs?): SVGCircleElement
Parameters
r: number
attrs: {
[key: string]: string;
} = {}
Returns SVGCircleElement
Static
createComponentTransfert
- createComponentTransfert(): SVGFEComponentTransferElement
Returns SVGFEComponentTransferElement
Static
createDefs
- createDefs(): SVGDefsElement
Returns SVGDefsElement
Static
createDropShadow
- createDropShadow(__namedParameters): SVGFEDropShadowElement
Parameters
__namedParameters: {
color: undefined | string;
deviation: undefined | number;
dx: undefined | number;
dy: undefined | number;
opacity: undefined | number;
}
color: undefined | string
deviation: undefined | number
dx: undefined | number
dy: undefined | number
opacity: undefined | number
Returns SVGFEDropShadowElement
Static
createFilter
- createFilter(id, attrs?): SVGFilterElement
Parameters
id: string
attrs: {
[key: string]: string;
} = {}
Returns SVGFilterElement
Static
createForeignObject
- createForeignObject(box, node, attrs?): SVGForeignObjectElement
Parameters
node: HTMLElement
attrs: {
[key: string]: string;
} = {}
Returns SVGForeignObjectElement
Static
createGroup
- createGroup(attrs?): SVGGElement
Parameters
attrs: {
[key: string]: string;
} = {}
Returns SVGGElement
Static
createLayer
- createLayer(boundingBox, attrs?): SVGElement
Parameters
attrs: {
[key: string]: string;
} = {}
Returns SVGElement
Static
createLine
- createLine(p1, p2, attrs?): SVGLineElement
Parameters
attrs: {
[key: string]: string;
} = {}
Returns SVGLineElement
Static
createMarker
- createMarker(id, attrs?): SVGMarkerElement
Parameters
id: string
attrs: {
[key: string]: string;
} = {}
Returns SVGMarkerElement
Static
createPath
- createPath(attrs?): SVGPathElement
Parameters
attrs: {
[key: string]: string;
} = {}
Returns SVGPathElement
Static
createPolygon
- createPolygon(points, attrs?): SVGPolylineElement
Parameters
points: number[]
attrs: {
[key: string]: string;
} = {}
Returns SVGPolylineElement
Static
createRect
- createRect(box, attrs?): SVGRectElement
Parameters
attrs: {
[key: string]: string;
} = {}
Returns SVGRectElement
Static
createTSpan
- createTSpan(text, attrs?): SVGTSpanElement
Parameters
text: string
attrs: {
[key: string]: string;
} = {}
Returns SVGTSpanElement
Static
createText
- createText(p, text, attrs?): SVGTextElement
Parameters
text: string
attrs: {
[key: string]: string;
} = {}
Returns SVGTextElement
Static
createTransfertFunctionTable
- createTransfertFunctionTable(type, values): SVGFEFuncAElement
Parameters
type: "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR"
values: string
Returns SVGFEFuncAElement