Package org.sgx.yuigwt.yui.graphic

Examples of org.sgx.yuigwt.yui.graphic.Graphic.x()


  public void ready(final YuiContext Y) {
   
    Graphic g1 = Y.newGraphic(GraphicConfig.create().render(parent));
   
    //move the graphic to parent's position
    g1.x(parent.getX()).y(parent.getY());
   
    Shape rect1 = g1.addShape(ShapeConfig.createRect().
      width(200).height(120).x(100).y(50).
      fill(Fill.create().color("red").opacity(0.7))
    );
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.