W3cubDocs

/Haxe JavaScript

SVGElement

package js.html.svg

extends GraphicsElementElementDOMElementNodeEventTarget

@:native("SVGSVGElement") Available on js

The SVGSVGElement interface provides access to the properties of svg elements, as well as methods to manipulate them. This interface contains also various miscellaneous commonly-used utility methods, such as matrix operations and the ability to control the time of redraw on visual rendering devices.

Documentation SVGSVGElement by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Variables

currentScale:Float

read only currentTranslate:Point

read only height:AnimatedLength

read only pixelUnitToMillimeterX:Float

read only pixelUnitToMillimeterY:Float

read only preserveAspectRatio:AnimatedPreserveAspectRatio

read only screenPixelToMillimeterX:Float

read only screenPixelToMillimeterY:Float

read only useCurrentView:Bool

read only viewBox:AnimatedRect

read only width:AnimatedLength

read only x:AnimatedLength

read only y:AnimatedLength

zoomAndPan:Int

Methods

animationsPaused ():Bool

createSVGAngle ():Angle

createSVGLength ():Length

createSVGMatrix ():Matrix

createSVGNumber ():Number

createSVGPoint ():Point

createSVGRect ():Rect

createSVGTransform ():Transform

createSVGTransformFromMatrix (matrix:Matrix):Transform

deselectAll ():Void

forceRedraw ():Void

getCurrentTime ():Float

getElementById (elementId:String):Element

pauseAnimations ():Void

setCurrentTime (seconds:Float):Void

suspendRedraw (maxWaitMilliseconds:Int):Int

unpauseAnimations ():Void

unsuspendRedraw (suspendHandleID:Int):Void

unsuspendRedrawAll ():Void

Static variables

@:value(1) static inline read only SVG_ZOOMANDPAN_DISABLE:Int = 1

@:value(2) static inline read only SVG_ZOOMANDPAN_MAGNIFY:Int = 2

@:value(0) static inline read only SVG_ZOOMANDPAN_UNKNOWN:Int = 0

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/svg/SVGElement.html