Package org.w3c.dom.svg

Platform and version requirements: JS

Kotlin JavaScript wrappers for the DOM SVG API.

Types

GetSVGDocument

external interface GetSVGDocument

SVGAElement

abstract external class SVGAElement : 
    SVGGraphicsElement,
    SVGURIReference

Exposes the JavaScript SVGAElement to Kotlin

SVGAngle

abstract external class SVGAngle

Exposes the JavaScript SVGAngle to Kotlin

SVGAnimatedAngle

abstract external class SVGAnimatedAngle

Exposes the JavaScript SVGAnimatedAngle to Kotlin

SVGAnimatedBoolean

abstract external class SVGAnimatedBoolean

Exposes the JavaScript SVGAnimatedBoolean to Kotlin

SVGAnimatedEnumeration

abstract external class SVGAnimatedEnumeration

Exposes the JavaScript SVGAnimatedEnumeration to Kotlin

SVGAnimatedInteger

abstract external class SVGAnimatedInteger

Exposes the JavaScript SVGAnimatedInteger to Kotlin

SVGAnimatedLength

abstract external class SVGAnimatedLength

Exposes the JavaScript SVGAnimatedLength to Kotlin

SVGAnimatedLengthList

abstract external class SVGAnimatedLengthList

Exposes the JavaScript SVGAnimatedLengthList to Kotlin

SVGAnimatedNumber

abstract external class SVGAnimatedNumber

Exposes the JavaScript SVGAnimatedNumber to Kotlin

SVGAnimatedNumberList

abstract external class SVGAnimatedNumberList

Exposes the JavaScript SVGAnimatedNumberList to Kotlin

SVGAnimatedPoints

external interface SVGAnimatedPoints

Exposes the JavaScript SVGAnimatedPoints to Kotlin

SVGAnimatedPreserveAspectRatio

abstract external class SVGAnimatedPreserveAspectRatio

Exposes the JavaScript SVGAnimatedPreserveAspectRatio to Kotlin

SVGAnimatedRect

abstract external class SVGAnimatedRect

Exposes the JavaScript SVGAnimatedRect to Kotlin

SVGAnimatedString

abstract external class SVGAnimatedString

Exposes the JavaScript SVGAnimatedString to Kotlin

SVGAnimatedTransformList

abstract external class SVGAnimatedTransformList

Exposes the JavaScript SVGAnimatedTransformList to Kotlin

SVGBoundingBoxOptions

external interface SVGBoundingBoxOptions

SVGCircleElement

abstract external class SVGCircleElement : SVGGeometryElement

Exposes the JavaScript SVGCircleElement to Kotlin

SVGCursorElement

abstract external class SVGCursorElement : 
    SVGElement,
    SVGURIReference

Exposes the JavaScript SVGCursorElement to Kotlin

SVGDefsElement

abstract external class SVGDefsElement : SVGGraphicsElement

Exposes the JavaScript SVGDefsElement to Kotlin

SVGDescElement

abstract external class SVGDescElement : SVGElement

Exposes the JavaScript SVGDescElement to Kotlin

SVGElement

abstract external class SVGElement : 
    Element,
    ElementCSSInlineStyle,
    GlobalEventHandlers,
    SVGElementInstance

Exposes the JavaScript SVGElement to Kotlin

SVGElementInstance

external interface SVGElementInstance

SVGEllipseElement

abstract external class SVGEllipseElement : 
    SVGGeometryElement

Exposes the JavaScript SVGEllipseElement to Kotlin

SVGFitToViewBox

external interface SVGFitToViewBox

SVGForeignObjectElement

abstract external class SVGForeignObjectElement : 
    SVGGraphicsElement

Exposes the JavaScript SVGForeignObjectElement to Kotlin

SVGGElement

abstract external class SVGGElement : SVGGraphicsElement

Exposes the JavaScript SVGGElement to Kotlin

SVGGeometryElement

abstract external class SVGGeometryElement : 
    SVGGraphicsElement

Exposes the JavaScript SVGGeometryElement to Kotlin

SVGGradientElement

abstract external class SVGGradientElement : 
    SVGElement,
    SVGURIReference,
    SVGUnitTypes

Exposes the JavaScript SVGGradientElement to Kotlin

SVGGraphicsElement

abstract external class SVGGraphicsElement : 
    SVGElement,
    SVGTests

Exposes the JavaScript SVGGraphicsElement to Kotlin

SVGHatchElement

abstract external class SVGHatchElement : SVGElement

SVGHatchpathElement

abstract external class SVGHatchpathElement : SVGElement

SVGImageElement

abstract external class SVGImageElement : 
    SVGGraphicsElement,
    SVGURIReference,
    HTMLOrSVGImageElement

Exposes the JavaScript SVGImageElement to Kotlin

SVGLength

abstract external class SVGLength

Exposes the JavaScript SVGLength to Kotlin

SVGLengthList

abstract external class SVGLengthList

Exposes the JavaScript SVGLengthList to Kotlin

SVGLineElement

abstract external class SVGLineElement : SVGGeometryElement

Exposes the JavaScript SVGLineElement to Kotlin

SVGLinearGradientElement

abstract external class SVGLinearGradientElement : 
    SVGGradientElement

Exposes the JavaScript SVGLinearGradientElement to Kotlin

SVGMarkerElement

abstract external class SVGMarkerElement : 
    SVGElement,
    SVGFitToViewBox

SVGMeshElement

abstract external class SVGMeshElement : 
    SVGGeometryElement,
    SVGURIReference

Exposes the JavaScript SVGMeshElement to Kotlin

SVGMeshGradientElement

abstract external class SVGMeshGradientElement : 
    SVGGradientElement

SVGMeshpatchElement

abstract external class SVGMeshpatchElement : SVGElement

SVGMeshrowElement

abstract external class SVGMeshrowElement : SVGElement

SVGMetadataElement

abstract external class SVGMetadataElement : SVGElement

SVGNameList

abstract external class SVGNameList

SVGNumber

abstract external class SVGNumber

Exposes the JavaScript SVGNumber to Kotlin

SVGNumberList

abstract external class SVGNumberList

Exposes the JavaScript SVGNumberList to Kotlin

SVGPathElement

abstract external class SVGPathElement : SVGGeometryElement

Exposes the JavaScript SVGPathElement to Kotlin

SVGPatternElement

abstract external class SVGPatternElement : 
    SVGElement,
    SVGFitToViewBox,
    SVGURIReference,
    SVGUnitTypes

Exposes the JavaScript SVGPatternElement to Kotlin

SVGPointList

abstract external class SVGPointList

SVGPolygonElement

abstract external class SVGPolygonElement : 
    SVGGeometryElement,
    SVGAnimatedPoints

Exposes the JavaScript SVGPolygonElement to Kotlin

SVGPolylineElement

abstract external class SVGPolylineElement : 
    SVGGeometryElement,
    SVGAnimatedPoints

Exposes the JavaScript SVGPolylineElement to Kotlin

SVGPreserveAspectRatio

abstract external class SVGPreserveAspectRatio

Exposes the JavaScript SVGPreserveAspectRatio to Kotlin

SVGRadialGradientElement

abstract external class SVGRadialGradientElement : 
    SVGGradientElement

Exposes the JavaScript SVGRadialGradientElement to Kotlin

SVGRectElement

abstract external class SVGRectElement : SVGGeometryElement

Exposes the JavaScript SVGRectElement to Kotlin

SVGSVGElement

abstract external class SVGSVGElement : 
    SVGGraphicsElement,
    SVGFitToViewBox,
    SVGZoomAndPan,
    WindowEventHandlers

Exposes the JavaScript SVGSVGElement to Kotlin

SVGScriptElement

abstract external class SVGScriptElement : 
    SVGElement,
    SVGURIReference,
    HTMLOrSVGScriptElement

Exposes the JavaScript SVGScriptElement to Kotlin

SVGSolidcolorElement

abstract external class SVGSolidcolorElement : SVGElement

SVGStopElement

abstract external class SVGStopElement : SVGElement

Exposes the JavaScript SVGStopElement to Kotlin

SVGStringList

abstract external class SVGStringList

Exposes the JavaScript SVGStringList to Kotlin

SVGStyleElement

abstract external class SVGStyleElement : 
    SVGElement,
    LinkStyle

Exposes the JavaScript SVGStyleElement to Kotlin

SVGSwitchElement

abstract external class SVGSwitchElement : SVGGraphicsElement

Exposes the JavaScript SVGSwitchElement to Kotlin

SVGSymbolElement

abstract external class SVGSymbolElement : 
    SVGGraphicsElement,
    SVGFitToViewBox

Exposes the JavaScript SVGSymbolElement to Kotlin

SVGTSpanElement

abstract external class SVGTSpanElement : 
    SVGTextPositioningElement

Exposes the JavaScript SVGTSpanElement to Kotlin

SVGTests

external interface SVGTests

Exposes the JavaScript SVGTests to Kotlin

SVGTextContentElement

abstract external class SVGTextContentElement : 
    SVGGraphicsElement

Exposes the JavaScript SVGTextContentElement to Kotlin

SVGTextElement

abstract external class SVGTextElement : 
    SVGTextPositioningElement

Exposes the JavaScript SVGTextElement to Kotlin

SVGTextPathElement

abstract external class SVGTextPathElement : 
    SVGTextContentElement,
    SVGURIReference

SVGTextPositioningElement

abstract external class SVGTextPositioningElement : 
    SVGTextContentElement

Exposes the JavaScript SVGTextPositioningElement to Kotlin

SVGTitleElement

abstract external class SVGTitleElement : SVGElement

Exposes the JavaScript SVGTitleElement to Kotlin

SVGTransform

abstract external class SVGTransform

Exposes the JavaScript SVGTransform to Kotlin

SVGTransformList

abstract external class SVGTransformList

Exposes the JavaScript SVGTransformList to Kotlin

SVGURIReference

external interface SVGURIReference

SVGUnitTypes

external interface SVGUnitTypes

SVGUnknownElement

abstract external class SVGUnknownElement : 
    SVGGraphicsElement

SVGUseElement

abstract external class SVGUseElement : 
    SVGGraphicsElement,
    SVGURIReference

Exposes the JavaScript SVGUseElement to Kotlin

SVGUseElementShadowRoot

open external class SVGUseElementShadowRoot : ShadowRoot

SVGViewElement

abstract external class SVGViewElement : 
    SVGElement,
    SVGFitToViewBox,
    SVGZoomAndPan

Exposes the JavaScript SVGViewElement to Kotlin

SVGZoomAndPan

external interface SVGZoomAndPan

ShadowAnimation

open external class ShadowAnimation

Functions

SVGBoundingBoxOptions

fun SVGBoundingBoxOptions(
    fill: Boolean? = true,
    stroke: Boolean? = false,
    markers: Boolean? = false,
    clipped: Boolean? = false
): SVGBoundingBoxOptions

get

operator fun SVGNameList.get(index: Int): dynamic
operator fun SVGNumberList.get(index: Int): SVGNumber?
operator fun SVGLengthList.get(index: Int): SVGLength?
operator fun SVGStringList.get(index: Int): String?
operator fun SVGTransformList.get(index: Int): SVGTransform?
operator fun SVGPointList.get(index: Int): DOMPoint?

set

operator fun SVGNameList.set(index: Int, newItem: dynamic)
operator fun SVGNumberList.set(
    index: Int,
    newItem: SVGNumber)
operator fun SVGLengthList.set(
    index: Int,
    newItem: SVGLength)
operator fun SVGStringList.set(index: Int, newItem: String)
operator fun SVGTransformList.set(
    index: Int,
    newItem: SVGTransform)
operator fun SVGPointList.set(index: Int, newItem: DOMPoint)