Package-level declarations

Kotlin JavaScript wrappers for the DOM SVG API.

Types

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

Exposes the JavaScript SVGAElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
abstract external class SVGAngle

Exposes the JavaScript SVGAngle to Kotlin

Since Kotlin 1.1
Link copied to clipboard
abstract external class SVGAnimatedAngle

Exposes the JavaScript SVGAnimatedAngle to Kotlin

Since Kotlin 1.1
Link copied to clipboard
abstract external class SVGAnimatedBoolean

Exposes the JavaScript SVGAnimatedBoolean to Kotlin

Since Kotlin 1.1
Link copied to clipboard
abstract external class SVGAnimatedEnumeration

Exposes the JavaScript SVGAnimatedEnumeration to Kotlin

Since Kotlin 1.1
Link copied to clipboard
abstract external class SVGAnimatedInteger

Exposes the JavaScript SVGAnimatedInteger to Kotlin

Since Kotlin 1.1
Link copied to clipboard
abstract external class SVGAnimatedLength

Exposes the JavaScript SVGAnimatedLength to Kotlin

Since Kotlin 1.1
Link copied to clipboard
abstract external class SVGAnimatedLengthList

Exposes the JavaScript SVGAnimatedLengthList to Kotlin

Since Kotlin 1.1
Link copied to clipboard
abstract external class SVGAnimatedNumber

Exposes the JavaScript SVGAnimatedNumber to Kotlin

Since Kotlin 1.1
Link copied to clipboard
abstract external class SVGAnimatedNumberList

Exposes the JavaScript SVGAnimatedNumberList to Kotlin

Since Kotlin 1.1
Link copied to clipboard
external interface SVGAnimatedPoints

Exposes the JavaScript SVGAnimatedPoints to Kotlin

Since Kotlin 1.1
Link copied to clipboard
abstract external class SVGAnimatedPreserveAspectRatio

Exposes the JavaScript SVGAnimatedPreserveAspectRatio to Kotlin

Since Kotlin 1.1
Link copied to clipboard
abstract external class SVGAnimatedRect

Exposes the JavaScript SVGAnimatedRect to Kotlin

Since Kotlin 1.1
Link copied to clipboard
abstract external class SVGAnimatedString

Exposes the JavaScript SVGAnimatedString to Kotlin

Since Kotlin 1.1
Link copied to clipboard
abstract external class SVGAnimatedTransformList

Exposes the JavaScript SVGAnimatedTransformList to Kotlin

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

Exposes the JavaScript SVGCircleElement to Kotlin

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

Exposes the JavaScript SVGCursorElement to Kotlin

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

Exposes the JavaScript SVGDefsElement to Kotlin

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

Exposes the JavaScript SVGDescElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard

Exposes the JavaScript SVGElement to Kotlin

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

Exposes the JavaScript SVGEllipseElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
external interface SVGFitToViewBox
Since Kotlin 1.1
Link copied to clipboard

Exposes the JavaScript SVGForeignObjectElement to Kotlin

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

Exposes the JavaScript SVGGElement to Kotlin

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

Exposes the JavaScript SVGGeometryElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard

Exposes the JavaScript SVGGradientElement to Kotlin

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

Exposes the JavaScript SVGGraphicsElement to Kotlin

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

Exposes the JavaScript SVGImageElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
abstract external class SVGLength

Exposes the JavaScript SVGLength to Kotlin

Since Kotlin 1.1
Link copied to clipboard
abstract external class SVGLengthList

Exposes the JavaScript SVGLengthList to Kotlin

Since Kotlin 1.1
Link copied to clipboard

Exposes the JavaScript SVGLinearGradientElement to Kotlin

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

Exposes the JavaScript SVGLineElement to Kotlin

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

Exposes the JavaScript SVGMeshElement to Kotlin

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

Exposes the JavaScript SVGMetadataElement to Kotlin

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

Exposes the JavaScript SVGNumber to Kotlin

Since Kotlin 1.1
Link copied to clipboard
abstract external class SVGNumberList

Exposes the JavaScript SVGNumberList to Kotlin

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

Exposes the JavaScript SVGPathElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard

Exposes the JavaScript SVGPatternElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
abstract external class SVGPointList
Since Kotlin 1.1
Link copied to clipboard

Exposes the JavaScript SVGPolygonElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard

Exposes the JavaScript SVGPolylineElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
abstract external class SVGPreserveAspectRatio

Exposes the JavaScript SVGPreserveAspectRatio to Kotlin

Since Kotlin 1.1
Link copied to clipboard

Exposes the JavaScript SVGRadialGradientElement to Kotlin

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

Exposes the JavaScript SVGRectElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard

Exposes the JavaScript SVGScriptElement to Kotlin

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

Exposes the JavaScript SVGSolidcolorElement to Kotlin

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

Exposes the JavaScript SVGStopElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
abstract external class SVGStringList

Exposes the JavaScript SVGStringList to Kotlin

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

Exposes the JavaScript SVGStyleElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard

Exposes the JavaScript SVGSVGElement to Kotlin

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

Exposes the JavaScript SVGSwitchElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard

Exposes the JavaScript SVGSymbolElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
external interface SVGTests

Exposes the JavaScript SVGTests to Kotlin

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

Exposes the JavaScript SVGTextContentElement to Kotlin

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

Exposes the JavaScript SVGTextElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard

Exposes the JavaScript SVGTextPathElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard

Exposes the JavaScript SVGTextPositioningElement to Kotlin

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

Exposes the JavaScript SVGTitleElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
abstract external class SVGTransform

Exposes the JavaScript SVGTransform to Kotlin

Since Kotlin 1.1
Link copied to clipboard
abstract external class SVGTransformList

Exposes the JavaScript SVGTransformList to Kotlin

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

Exposes the JavaScript SVGTSpanElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
external interface SVGUnitTypes

Exposes the JavaScript SVGUnitTypes to Kotlin

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

Exposes the JavaScript SVGURIReference to Kotlin

Since Kotlin 1.1
Link copied to clipboard

Exposes the JavaScript SVGUseElement to Kotlin

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

Exposes the JavaScript SVGViewElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
external interface SVGZoomAndPan

Exposes the JavaScript SVGZoomAndPan to Kotlin

Since Kotlin 1.1

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
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
Link copied to clipboard
inline fun SVGBoundingBoxOptions(fill: Boolean? = true, stroke: Boolean? = false, markers: Boolean? = false, clipped: Boolean? = false): SVGBoundingBoxOptions
Since Kotlin 1.1