Examples of SVGLineElementImpl


Examples of org.apache.fop.dom.svg.SVGLineElementImpl

            y1 = new SVGLengthImpl();
        SVGLength y2 = ((SVGLengthProperty) this.properties.get("y2")).
                       getSVGLength();
        if (y2 == null)
            y2 = new SVGLengthImpl();
        SVGLineElementImpl graph = new SVGLineElementImpl();
        graph.setX1(new SVGAnimatedLengthImpl(x1));
        graph.setY1(new SVGAnimatedLengthImpl(y1));
        graph.setX2(new SVGAnimatedLengthImpl(x2));
        graph.setY2(new SVGAnimatedLengthImpl(y2));
        graph.setStyle(
          ((SVGStyle) this.properties.get("style")).getStyle());
        graph.setTransform(
          ((SVGTransform) this.properties.get("transform")).
          getTransform());
        graph.setId(this.properties.get("id").getString());
        return graph;
    }
View Full Code Here

Examples of org.apache.fop.dom.svg.SVGLineElementImpl

    /* retrieve properties */
    SVGLength x1 = ((SVGLengthProperty)this.properties.get("x1")).getSVGLength();
    SVGLength x2 = ((SVGLengthProperty)this.properties.get("x2")).getSVGLength();
    SVGLength y1 = ((SVGLengthProperty)this.properties.get("y1")).getSVGLength();
    SVGLength y2 = ((SVGLengthProperty)this.properties.get("y2")).getSVGLength();
    SVGLineElementImpl graph = new SVGLineElementImpl();
    graph.setX1(new SVGAnimatedLengthImpl(x1));
    graph.setY1(new SVGAnimatedLengthImpl(y1));
    graph.setX2(new SVGAnimatedLengthImpl(x2));
    graph.setY2(new SVGAnimatedLengthImpl(y2));
    graph.setStyle(((SVGStyle)this.properties.get("style")).getStyle());
    graph.setTransform(((SVGTransform)this.properties.get("transform")).oldgetTransform());
    graph.setId(this.properties.get("id").getString());
    return graph;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.