Package org.sgx.yuigwt.yuigallery.imagecropper

Examples of org.sgx.yuigwt.yuigallery.imagecropper.ImageCropper


   
final Console console = Y.newConsole(ConsoleConfig.create());
console.render();

String src1 = "http://cabopolonio.com/ovejasenelcabo.jpg";
ImageCropper ic1 = Y.newImageCropper(ImageCropperConfig.create().source(src1).
  width("743px").height("517px"));
ic1.render(parent);

ic1.on(ImageCropper.EVENT_CROPEND, new EventCallback<ImageCropperEvent>() {
  @Override
  public void call(ImageCropperEvent e) {
    console.log(e.left()+", "+e.top()+", "+e.width()+", "+e.height());
  }
});
View Full Code Here

TOP

Related Classes of org.sgx.yuigwt.yuigallery.imagecropper.ImageCropper

Copyright © 2018 www.massapicom. 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.