Package-level declarations

Kotlin JavaScript wrappers for the DOM SVG API.

Kotlin JavaScript wrappers for the DOM SVG API.

Types

Link copied to clipboard
external interface GetSVGDocument
Since Kotlin 1.1
external interface GetSVGDocument : JsAny
Since Kotlin 1.8
Link copied to clipboard
open external class ShadowAnimation(source: dynamic, newTarget: dynamic)
Since Kotlin 1.1
open external class ShadowAnimation(source: JsAny?, newTarget: JsAny?) : JsAny
Since Kotlin 1.8
Link copied to clipboard

Exposes the JavaScript SVGAElement to Kotlin

Since Kotlin 1.1

Exposes the JavaScript SVGAElement to Kotlin

Since Kotlin 1.8
Link copied to clipboard
abstract external class SVGAngle

Exposes the JavaScript SVGAngle to Kotlin

Since Kotlin 1.1
abstract external class SVGAngle : JsAny

Exposes the JavaScript SVGAngle to Kotlin

Since Kotlin 1.8
Link copied to clipboard
abstract external class SVGAnimatedAngle

Exposes the JavaScript SVGAnimatedAngle to Kotlin

Since Kotlin 1.1
abstract external class SVGAnimatedAngle : JsAny

Exposes the JavaScript SVGAnimatedAngle to Kotlin

Since Kotlin 1.8
Link copied to clipboard
abstract external class SVGAnimatedBoolean

Exposes the JavaScript SVGAnimatedBoolean to Kotlin

Since Kotlin 1.1
abstract external class SVGAnimatedBoolean : JsAny

Exposes the JavaScript SVGAnimatedBoolean to Kotlin

Since Kotlin 1.8
Link copied to clipboard
abstract external class SVGAnimatedEnumeration

Exposes the JavaScript SVGAnimatedEnumeration to Kotlin

Since Kotlin 1.1
abstract external class SVGAnimatedEnumeration : JsAny

Exposes the JavaScript SVGAnimatedEnumeration to Kotlin

Since Kotlin 1.8
Link copied to clipboard
abstract external class SVGAnimatedInteger

Exposes the JavaScript SVGAnimatedInteger to Kotlin

Since Kotlin 1.1
abstract external class SVGAnimatedInteger : JsAny

Exposes the JavaScript SVGAnimatedInteger to Kotlin

Since Kotlin 1.8
Link copied to clipboard
abstract external class SVGAnimatedLength

Exposes the JavaScript SVGAnimatedLength to Kotlin

Since Kotlin 1.1
abstract external class SVGAnimatedLength : JsAny

Exposes the JavaScript SVGAnimatedLength to Kotlin

Since Kotlin 1.8
Link copied to clipboard
abstract external class SVGAnimatedLengthList

Exposes the JavaScript SVGAnimatedLengthList to Kotlin

Since Kotlin 1.1
abstract external class SVGAnimatedLengthList : JsAny

Exposes the JavaScript SVGAnimatedLengthList to Kotlin

Since Kotlin 1.8
Link copied to clipboard
abstract external class SVGAnimatedNumber

Exposes the JavaScript SVGAnimatedNumber to Kotlin

Since Kotlin 1.1
abstract external class SVGAnimatedNumber : JsAny

Exposes the JavaScript SVGAnimatedNumber to Kotlin

Since Kotlin 1.8
Link copied to clipboard
abstract external class SVGAnimatedNumberList

Exposes the JavaScript SVGAnimatedNumberList to Kotlin

Since Kotlin 1.1
abstract external class SVGAnimatedNumberList : JsAny

Exposes the JavaScript SVGAnimatedNumberList to Kotlin

Since Kotlin 1.8
Link copied to clipboard
external interface SVGAnimatedPoints

Exposes the JavaScript SVGAnimatedPoints to Kotlin

Since Kotlin 1.1
external interface SVGAnimatedPoints : JsAny

Exposes the JavaScript SVGAnimatedPoints to Kotlin

Since Kotlin 1.8
Link copied to clipboard
abstract external class SVGAnimatedPreserveAspectRatio

Exposes the JavaScript SVGAnimatedPreserveAspectRatio to Kotlin

Since Kotlin 1.1
abstract external class SVGAnimatedPreserveAspectRatio : JsAny

Exposes the JavaScript SVGAnimatedPreserveAspectRatio to Kotlin

Since Kotlin 1.8
Link copied to clipboard
abstract external class SVGAnimatedRect

Exposes the JavaScript SVGAnimatedRect to Kotlin

Since Kotlin 1.1
abstract external class SVGAnimatedRect : JsAny

Exposes the JavaScript SVGAnimatedRect to Kotlin

Since Kotlin 1.8
Link copied to clipboard
abstract external class SVGAnimatedString

Exposes the JavaScript SVGAnimatedString to Kotlin

Since Kotlin 1.1
abstract external class SVGAnimatedString : JsAny

Exposes the JavaScript SVGAnimatedString to Kotlin

Since Kotlin 1.8
Link copied to clipboard
abstract external class SVGAnimatedTransformList

Exposes the JavaScript SVGAnimatedTransformList to Kotlin

Since Kotlin 1.1
abstract external class SVGAnimatedTransformList : JsAny

Exposes the JavaScript SVGAnimatedTransformList to Kotlin

Since Kotlin 1.8
Link copied to clipboard
external interface SVGBoundingBoxOptions
Since Kotlin 1.1
external interface SVGBoundingBoxOptions : JsAny
Since Kotlin 1.8
Link copied to clipboard
abstract external class SVGCircleElement : SVGGeometryElement

Exposes the JavaScript SVGCircleElement to Kotlin

Since Kotlin 1.1
abstract external class SVGCircleElement : SVGGeometryElement, JsAny

Exposes the JavaScript SVGCircleElement to Kotlin

Since Kotlin 1.8
Link copied to clipboard
abstract external class SVGCursorElement : SVGElement, SVGURIReference

Exposes the JavaScript SVGCursorElement to Kotlin

Since Kotlin 1.1
abstract external class SVGCursorElement : SVGElement, SVGURIReference, JsAny

Exposes the JavaScript SVGCursorElement to Kotlin

Since Kotlin 1.8
Link copied to clipboard
abstract external class SVGDefsElement : SVGGraphicsElement

Exposes the JavaScript SVGDefsElement to Kotlin

Since Kotlin 1.1
abstract external class SVGDefsElement : SVGGraphicsElement, JsAny

Exposes the JavaScript SVGDefsElement to Kotlin

Since Kotlin 1.8
Link copied to clipboard
abstract external class SVGDescElement : SVGElement

Exposes the JavaScript SVGDescElement to Kotlin

Since Kotlin 1.1
abstract external class SVGDescElement : SVGElement, JsAny

Exposes the JavaScript SVGDescElement to Kotlin

Since Kotlin 1.8
Link copied to clipboard

Exposes the JavaScript SVGElement to Kotlin

Since Kotlin 1.1

Exposes the JavaScript SVGElement to Kotlin

Since Kotlin 1.8
Link copied to clipboard
external interface SVGElementInstance
Since Kotlin 1.1
external interface SVGElementInstance : JsAny
Since Kotlin 1.8
Link copied to clipboard
abstract external class SVGEllipseElement : SVGGeometryElement

Exposes the JavaScript SVGEllipseElement to Kotlin

Since Kotlin 1.1
abstract external class SVGEllipseElement : SVGGeometryElement, JsAny

Exposes the JavaScript SVGEllipseElement to Kotlin

Since Kotlin 1.8
Link copied to clipboard
external interface SVGFitToViewBox
Since Kotlin 1.1
external interface SVGFitToViewBox : JsAny
Since Kotlin 1.8
Link copied to clipboard

Exposes the JavaScript SVGForeignObjectElement to Kotlin

Since Kotlin 1.1

Exposes the JavaScript SVGForeignObjectElement to Kotlin

Since Kotlin 1.8
Link copied to clipboard
abstract external class SVGGElement : SVGGraphicsElement

Exposes the JavaScript SVGGElement to Kotlin

Since Kotlin 1.1
abstract external class SVGGElement : SVGGraphicsElement, JsAny

Exposes the JavaScript SVGGElement to Kotlin

Since Kotlin 1.8
Link copied to clipboard
abstract external class SVGGeometryElement : SVGGraphicsElement

Exposes the JavaScript SVGGeometryElement to Kotlin

Since Kotlin 1.1
abstract external class SVGGeometryElement : SVGGraphicsElement, JsAny

Exposes the JavaScript SVGGeometryElement to Kotlin

Since Kotlin 1.8
Link copied to clipboard

Exposes the JavaScript SVGGradientElement to Kotlin

Since Kotlin 1.1

Exposes the JavaScript SVGGradientElement to Kotlin

Since Kotlin 1.8
Link copied to clipboard
abstract external class SVGGraphicsElement : SVGElement, SVGTests

Exposes the JavaScript SVGGraphicsElement to Kotlin

Since Kotlin 1.1
abstract external class SVGGraphicsElement : SVGElement, SVGTests, JsAny

Exposes the JavaScript SVGGraphicsElement to Kotlin

Since Kotlin 1.8
Link copied to clipboard
abstract external class SVGHatchElement : SVGElement
Since Kotlin 1.1
abstract external class SVGHatchElement : SVGElement, JsAny
Since Kotlin 1.8
Link copied to clipboard
abstract external class SVGHatchpathElement : SVGElement
Since Kotlin 1.1
abstract external class SVGHatchpathElement : SVGElement, JsAny
Since Kotlin 1.8
Link copied to clipboard

Exposes the JavaScript SVGImageElement to Kotlin

Since Kotlin 1.1

Exposes the JavaScript SVGImageElement to Kotlin

Since Kotlin 1.8
Link copied to clipboard
abstract external class SVGLength

Exposes the JavaScript SVGLength to Kotlin

Since Kotlin 1.1
abstract external class SVGLength : JsAny

Exposes the JavaScript SVGLength to Kotlin

Since Kotlin 1.8
Link copied to clipboard
abstract external class SVGLengthList

Exposes the JavaScript SVGLengthList to Kotlin

Since Kotlin 1.1
abstract external class SVGLengthList : JsAny

Exposes the JavaScript SVGLengthList to Kotlin

Since Kotlin 1.8
Link copied to clipboard

Exposes the JavaScript SVGLinearGradientElement to Kotlin

Since Kotlin 1.1

Exposes the JavaScript SVGLinearGradientElement to Kotlin

Since Kotlin 1.8
Link copied to clipboard
abstract external class SVGLineElement : SVGGeometryElement

Exposes the JavaScript SVGLineElement to Kotlin

Since Kotlin 1.1
abstract external class SVGLineElement : SVGGeometryElement, JsAny

Exposes the JavaScript SVGLineElement to Kotlin

Since Kotlin 1.8
Link copied to clipboard
abstract external class SVGMarkerElement : SVGElement, SVGFitToViewBox
Since Kotlin 1.1
abstract external class SVGMarkerElement : SVGElement, SVGFitToViewBox, JsAny
Since Kotlin 1.8
Link copied to clipboard

Exposes the JavaScript SVGMeshElement to Kotlin

Since Kotlin 1.1

Exposes the JavaScript SVGMeshElement to Kotlin

Since Kotlin 1.8
Link copied to clipboard
abstract external class SVGMeshGradientElement : SVGGradientElement
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
abstract external class SVGMeshpatchElement : SVGElement
Since Kotlin 1.1
abstract external class SVGMeshpatchElement : SVGElement, JsAny
Since Kotlin 1.8
Link copied to clipboard
abstract external class SVGMeshrowElement : SVGElement
Since Kotlin 1.1
abstract external class SVGMeshrowElement : SVGElement, JsAny
Since Kotlin 1.8
Link copied to clipboard
abstract external class SVGMetadataElement : SVGElement

Exposes the JavaScript SVGMetadataElement to Kotlin

Since Kotlin 1.1
abstract external class SVGMetadataElement : SVGElement, JsAny

Exposes the JavaScript SVGMetadataElement to Kotlin

Since Kotlin 1.8
Link copied to clipboard
abstract external class SVGNameList
Since Kotlin 1.1
abstract external class SVGNameList : JsAny
Since Kotlin 1.8
Link copied to clipboard
abstract external class SVGNumber

Exposes the JavaScript SVGNumber to Kotlin

Since Kotlin 1.1
abstract external class SVGNumber : JsAny

Exposes the JavaScript SVGNumber to Kotlin

Since Kotlin 1.8
Link copied to clipboard
abstract external class SVGNumberList

Exposes the JavaScript SVGNumberList to Kotlin

Since Kotlin 1.1
abstract external class SVGNumberList : JsAny

Exposes the JavaScript SVGNumberList to Kotlin

Since Kotlin 1.8
Link copied to clipboard
abstract external class SVGPathElement : SVGGeometryElement

Exposes the JavaScript SVGPathElement to Kotlin

Since Kotlin 1.1
abstract external class SVGPathElement : SVGGeometryElement, JsAny

Exposes the JavaScript SVGPathElement to Kotlin

Since Kotlin 1.8
Link copied to clipboard

Exposes the JavaScript SVGPatternElement to Kotlin

Since Kotlin 1.1

Exposes the JavaScript SVGPatternElement to Kotlin

Since Kotlin 1.8
Link copied to clipboard
abstract external class SVGPointList
Since Kotlin 1.1
abstract external class SVGPointList : JsAny
Since Kotlin 1.8
Link copied to clipboard

Exposes the JavaScript SVGPolygonElement to Kotlin

Since Kotlin 1.1

Exposes the JavaScript SVGPolygonElement to Kotlin

Since Kotlin 1.8
Link copied to clipboard

Exposes the JavaScript SVGPolylineElement to Kotlin

Since Kotlin 1.1

Exposes the JavaScript SVGPolylineElement to Kotlin

Since Kotlin 1.8
Link copied to clipboard
abstract external class SVGPreserveAspectRatio

Exposes the JavaScript SVGPreserveAspectRatio to Kotlin

Since Kotlin 1.1
abstract external class SVGPreserveAspectRatio : JsAny

Exposes the JavaScript SVGPreserveAspectRatio to Kotlin

Since Kotlin 1.8
Link copied to clipboard

Exposes the JavaScript SVGRadialGradientElement to Kotlin

Since Kotlin 1.1

Exposes the JavaScript SVGRadialGradientElement to Kotlin

Since Kotlin 1.8
Link copied to clipboard
abstract external class SVGRectElement : SVGGeometryElement

Exposes the JavaScript SVGRectElement to Kotlin

Since Kotlin 1.1
abstract external class SVGRectElement : SVGGeometryElement, JsAny

Exposes the JavaScript SVGRectElement to Kotlin

Since Kotlin 1.8
Link copied to clipboard

Exposes the JavaScript SVGScriptElement to Kotlin

Since Kotlin 1.1

Exposes the JavaScript SVGScriptElement to Kotlin

Since Kotlin 1.8
Link copied to clipboard
abstract external class SVGSolidcolorElement : SVGElement

Exposes the JavaScript SVGSolidcolorElement to Kotlin

Since Kotlin 1.1
abstract external class SVGSolidcolorElement : SVGElement, JsAny

Exposes the JavaScript SVGSolidcolorElement to Kotlin

Since Kotlin 1.8
Link copied to clipboard
abstract external class SVGStopElement : SVGElement

Exposes the JavaScript SVGStopElement to Kotlin

Since Kotlin 1.1
abstract external class SVGStopElement : SVGElement, JsAny

Exposes the JavaScript SVGStopElement to Kotlin

Since Kotlin 1.8
Link copied to clipboard
abstract external class SVGStringList

Exposes the JavaScript SVGStringList to Kotlin

Since Kotlin 1.1
abstract external class SVGStringList : JsAny

Exposes the JavaScript SVGStringList to Kotlin

Since Kotlin 1.8
Link copied to clipboard
abstract external class SVGStyleElement : SVGElement, LinkStyle

Exposes the JavaScript SVGStyleElement to Kotlin

Since Kotlin 1.1
abstract external class SVGStyleElement : SVGElement, LinkStyle, JsAny

Exposes the JavaScript SVGStyleElement to Kotlin

Since Kotlin 1.8
Link copied to clipboard

Exposes the JavaScript SVGSVGElement to Kotlin

Since Kotlin 1.1

Exposes the JavaScript SVGSVGElement to Kotlin

Since Kotlin 1.8
Link copied to clipboard
abstract external class SVGSwitchElement : SVGGraphicsElement

Exposes the JavaScript SVGSwitchElement to Kotlin

Since Kotlin 1.1
abstract external class SVGSwitchElement : SVGGraphicsElement, JsAny

Exposes the JavaScript SVGSwitchElement to Kotlin

Since Kotlin 1.8
Link copied to clipboard

Exposes the JavaScript SVGSymbolElement to Kotlin

Since Kotlin 1.1

Exposes the JavaScript SVGSymbolElement to Kotlin

Since Kotlin 1.8
Link copied to clipboard
external interface SVGTests

Exposes the JavaScript SVGTests to Kotlin

Since Kotlin 1.1
external interface SVGTests : JsAny

Exposes the JavaScript SVGTests to Kotlin

Since Kotlin 1.8
Link copied to clipboard
abstract external class SVGTextContentElement : SVGGraphicsElement

Exposes the JavaScript SVGTextContentElement to Kotlin

Since Kotlin 1.1

Exposes the JavaScript SVGTextContentElement to Kotlin

Since Kotlin 1.8
Link copied to clipboard
abstract external class SVGTextElement : SVGTextPositioningElement

Exposes the JavaScript SVGTextElement to Kotlin

Since Kotlin 1.1

Exposes the JavaScript SVGTextElement to Kotlin

Since Kotlin 1.8
Link copied to clipboard

Exposes the JavaScript SVGTextPathElement to Kotlin

Since Kotlin 1.1

Exposes the JavaScript SVGTextPathElement to Kotlin

Since Kotlin 1.8
Link copied to clipboard

Exposes the JavaScript SVGTextPositioningElement to Kotlin

Since Kotlin 1.1

Exposes the JavaScript SVGTextPositioningElement to Kotlin

Since Kotlin 1.8
Link copied to clipboard
abstract external class SVGTitleElement : SVGElement

Exposes the JavaScript SVGTitleElement to Kotlin

Since Kotlin 1.1
abstract external class SVGTitleElement : SVGElement, JsAny

Exposes the JavaScript SVGTitleElement to Kotlin

Since Kotlin 1.8
Link copied to clipboard
abstract external class SVGTransform

Exposes the JavaScript SVGTransform to Kotlin

Since Kotlin 1.1
abstract external class SVGTransform : JsAny

Exposes the JavaScript SVGTransform to Kotlin

Since Kotlin 1.8
Link copied to clipboard
abstract external class SVGTransformList

Exposes the JavaScript SVGTransformList to Kotlin

Since Kotlin 1.1
abstract external class SVGTransformList : JsAny

Exposes the JavaScript SVGTransformList to Kotlin

Since Kotlin 1.8
Link copied to clipboard
abstract external class SVGTSpanElement : SVGTextPositioningElement

Exposes the JavaScript SVGTSpanElement to Kotlin

Since Kotlin 1.1

Exposes the JavaScript SVGTSpanElement to Kotlin

Since Kotlin 1.8
Link copied to clipboard
external interface SVGUnitTypes

Exposes the JavaScript SVGUnitTypes to Kotlin

Since Kotlin 1.1
external interface SVGUnitTypes : JsAny

Exposes the JavaScript SVGUnitTypes to Kotlin

Since Kotlin 1.8
Link copied to clipboard
abstract external class SVGUnknownElement : SVGGraphicsElement
Since Kotlin 1.1
abstract external class SVGUnknownElement : SVGGraphicsElement, JsAny
Since Kotlin 1.8
Link copied to clipboard
external interface SVGURIReference

Exposes the JavaScript SVGURIReference to Kotlin

Since Kotlin 1.1
external interface SVGURIReference : JsAny

Exposes the JavaScript SVGURIReference to Kotlin

Since Kotlin 1.8
Link copied to clipboard

Exposes the JavaScript SVGUseElement to Kotlin

Since Kotlin 1.1

Exposes the JavaScript SVGUseElement to Kotlin

Since Kotlin 1.8
Link copied to clipboard
open external class SVGUseElementShadowRoot : ShadowRoot
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard

Exposes the JavaScript SVGViewElement to Kotlin

Since Kotlin 1.1

Exposes the JavaScript SVGViewElement to Kotlin

Since Kotlin 1.8
Link copied to clipboard
external interface SVGZoomAndPan

Exposes the JavaScript SVGZoomAndPan to Kotlin

Since Kotlin 1.1
external interface SVGZoomAndPan : JsAny

Exposes the JavaScript SVGZoomAndPan to Kotlin

Since Kotlin 1.8

Functions

Link copied to clipboard
inline operator fun SVGLengthList.get(index: Int): SVGLength?
inline operator fun SVGNameList.get(index: Int): dynamic
inline operator fun SVGNumberList.get(index: Int): SVGNumber?
inline operator fun SVGPointList.get(index: Int): DOMPoint?
inline operator fun SVGStringList.get(index: Int): String?
inline operator fun SVGTransformList.get(index: Int): SVGTransform?
Since Kotlin 1.1
operator fun SVGLengthList.get(index: Int): SVGLength?
operator fun SVGNameList.get(index: Int): JsAny?
operator fun SVGNumberList.get(index: Int): SVGNumber?
operator fun SVGPointList.get(index: Int): DOMPoint?
operator fun SVGStringList.get(index: Int): String?
operator fun SVGTransformList.get(index: Int): SVGTransform?
Since Kotlin 1.8
Link copied to clipboard
inline operator fun SVGLengthList.set(index: Int, newItem: SVGLength)
inline operator fun SVGNameList.set(index: Int, newItem: dynamic)
inline operator fun SVGNumberList.set(index: Int, newItem: SVGNumber)
inline operator fun SVGPointList.set(index: Int, newItem: DOMPoint)
inline operator fun SVGStringList.set(index: Int, newItem: String)
inline operator fun SVGTransformList.set(index: Int, newItem: SVGTransform)
Since Kotlin 1.1
operator fun SVGLengthList.set(index: Int, newItem: SVGLength)
operator fun SVGNameList.set(index: Int, newItem: JsAny?)
operator fun SVGNumberList.set(index: Int, newItem: SVGNumber)
operator fun SVGPointList.set(index: Int, newItem: DOMPoint)
operator fun SVGStringList.set(index: Int, newItem: String)
operator fun SVGTransformList.set(index: Int, newItem: SVGTransform)
Since Kotlin 1.8
Link copied to clipboard
inline fun SVGBoundingBoxOptions(fill: Boolean? = true, stroke: Boolean? = false, markers: Boolean? = false, clipped: Boolean? = false): SVGBoundingBoxOptions
Since Kotlin 1.1
fun SVGBoundingBoxOptions(fill: Boolean? = true, stroke: Boolean? = false, markers: Boolean? = false, clipped: Boolean? = false): SVGBoundingBoxOptions
Since Kotlin 1.8