Examples of MTSvg


Examples of org.mt4j.components.visibleComponents.widgets.MTSvg

   
    this.setClearColor(new MTColor(255, 255, 255, 255));
    //Show touches
    this.registerGlobalInputProcessor(new CursorTracer(mtApplication, this));
   
    MTSvg svg = new MTSvg(mtApplication, svgPath + "windmill.svg");
    svg.setPositionGlobal(new Vector3D(mtApplication.width/2, mtApplication.height/2,0));
    this.getCanvas().addChild(svg);
   
    MTSvg butterFly = new MTSvg(mtApplication, svgPath + "butterfly.svg");
    butterFly.setPositionGlobal(new Vector3D(300, 100,0));
    this.getCanvas().addChild(butterFly);
   
    this.getCanvas().addChild(new MTSvg(mtApplication, svgPath + "primitives.svg"));
  }
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.