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 also:
Static variables
staticinlineread onlySVG_LENGTHTYPE_CM:Int = 6
staticinlineread onlySVG_LENGTHTYPE_EMS:Int = 3
staticinlineread onlySVG_LENGTHTYPE_EXS:Int = 4
staticinlineread onlySVG_LENGTHTYPE_IN:Int = 8
staticinlineread onlySVG_LENGTHTYPE_MM:Int = 7
staticinlineread onlySVG_LENGTHTYPE_NUMBER:Int = 1
staticinlineread onlySVG_LENGTHTYPE_PC:Int = 10
staticinlineread onlySVG_LENGTHTYPE_PERCENTAGE:Int = 2
staticinlineread onlySVG_LENGTHTYPE_PT:Int = 9
staticinlineread onlySVG_LENGTHTYPE_PX:Int = 5
staticinlineread onlySVG_LENGTHTYPE_UNKNOWN:Int = 0
Variables
read onlyunitType:Int
value:Float
valueAsString:String
valueInSpecifiedUnits:Float
Methods
convertToSpecifiedUnits(unitType:Int):Void
Throws:
null |
DOMError |
---|
newValueSpecifiedUnits(unitType:Int, valueInSpecifiedUnits:Float):Void
Throws:
null |
DOMError |
---|
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/svg/Length.html