Class SVGOMLength

  • All Implemented Interfaces:
    org.w3c.dom.svg.SVGLength

    public class SVGOMLength
    extends AbstractSVGLength
    Default implementation of SVGLength. This implementation is not linked to any attribute in the Document. It is used by the root element to return a default SVGLength.
    See Also:
    SVGSVGElement.createSVGLength()
    • Field Detail

      • element

        protected AbstractElement element
        Element associated to this length.
    • Constructor Detail

      • SVGOMLength

        public SVGOMLength​(AbstractElement elt)
        Default constructor. The direction of this length is undefined and this length is not associated to any attribute.