org.vectomatic.dom.svg.impl
Class DashArrayParser
java.lang.Object
org.vectomatic.dom.svg.impl.DashArrayParser
public class DashArrayParser
- extends Object
Class to parse SVG dash arrays. Do not call this class directly,
it will be removed when browser provide good native support for it.
Following is the BNF grammar of the expression supported.
dasharray ::= (length | percentage) (comma-wsp dasharray)?
length ::= number (~"em" | ~"ex" | ~"px" | ~"in" | ~"cm" | ~"mm" | ~"pt" | ~"pc")?
length ::= number ("em" | "ex" | "px" | "in" | "cm" | "mm" | "pt" | "pc" | "%")?
number ::= integer | [+-]? [0-9]* "." [0-9]+
- Author:
- laaglu
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final DashArrayParser INSTANCE
parse
public OMCSSValue parse(String cssText)
Copyright © 2012. All Rights Reserved.