Package net.sf.latexdraw.parsers.svg

Examples of net.sf.latexdraw.parsers.svg.SVGPolygonElement.enableRendering()


public class TestSVGPolygonElement extends AbstractTestSVGElement {
  @Test
  public void testEnableRendering() throws MalformedSVGDocument, ParseException {
    node.setAttribute(SVGAttributes.SVG_POINTS, "10,10 20,20"); //$NON-NLS-1$
    SVGPolygonElement pl = new SVGPolygonElement(node, null);
    assertTrue(pl.enableRendering());
  }


  @Test
  public void testSetPoints() throws ParseException, MalformedSVGDocument {
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.