Package railo.runtime.img

Examples of railo.runtime.img.Image.drawLine()


 
  public static String call(PageContext pc, Object name, double x1, double y1,double x2, double y2) throws PageException {
    if(name instanceof String) name=pc.getVariable(Caster.toString(name));
    Image img = Image.toImage(name);
   
    img.drawLine((int)x1, (int)y1, (int)x2, (int)y2);
    return null;
  }
 
}
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.