package js.html.svg
Available on jsThe
SVGLength
interface correspond to the length basic data type.Documentation SVGLength by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See:
read only unitType:Int
value:Float
valueAsString:String
valueInSpecifiedUnits:Float
convertToSpecifiedUnits (unitType:Int):Void
Throws:
null |
DOMError |
---|
newValueSpecifiedUnits (unitType:Int, valueInSpecifiedUnits:Float):Void
Throws:
null |
DOMError |
---|
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–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/svg/Length.html