W3cubDocs

/Haxe JavaScript

Length

package js.html.svg

Available on js

The SVGLength interface correspond to the length basic data type.

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

See:

Variables

read only unitType:Int

value:Float

valueAsString:String

valueInSpecifiedUnits:Float

Methods

convertToSpecifiedUnits (unitType:Int):Void

Throws:

null DOMError

newValueSpecifiedUnits (unitType:Int, valueInSpecifiedUnits:Float):Void

Throws:

null DOMError

Static variables

static inline read only SVG_LENGTHTYPE_CM:Int = 6

static inline read only SVG_LENGTHTYPE_EMS:Int = 3

static inline read only SVG_LENGTHTYPE_EXS:Int = 4

static inline read only SVG_LENGTHTYPE_IN:Int = 8

static inline read only SVG_LENGTHTYPE_MM:Int = 7

static inline read only SVG_LENGTHTYPE_NUMBER:Int = 1

static inline read only SVG_LENGTHTYPE_PC:Int = 10

static inline read only SVG_LENGTHTYPE_PERCENTAGE:Int = 2

static inline read only SVG_LENGTHTYPE_PT:Int = 9

static inline read only SVG_LENGTHTYPE_PX:Int = 5

static inline read only SVG_LENGTHTYPE_UNKNOWN:Int = 0

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/js/html/svg/Length.html