Package java.awt.geom.Rectangle2D

Examples of java.awt.geom.Rectangle2D.Float


  /**
   * Transform to the position of the stamp annotation
   * @return
   */
  private AffineTransform getPositionTransformation() {
    Float rect2 = getRect();
    double[] f = new double[] {1,
        0,
        0,
        1,
        rect2.getMinX(),
        rect2.getMinY()};
    return new AffineTransform(f);
  }
View Full Code Here


          result.add(PDFPage.createImageCmd(img));
        } else if (type.equals("Form")) {
         
            // rats.  parse it.
            PDFObject bobj = obj.getDictRef("BBox");
            Float bbox = new Rectangle2D.Float(bobj.getAt(0).getFloatValue(),
                    bobj.getAt(1).getFloatValue(),
                    bobj.getAt(2).getFloatValue(),
                    bobj.getAt(3).getFloatValue());
            PDFPage formCmds = new PDFPage(bbox, 0);
            // stamp annotation transformation
View Full Code Here

  /**
   * Transform to the position of the stamp annotation
   * @return
   */
  private AffineTransform getPositionTransformation() {
    Float rect2 = getRect();
    double[] f = new double[] {1,
        0,
        0,
        1,
        rect2.getMinX(),
        rect2.getMinY()};
    return new AffineTransform(f);
  }
View Full Code Here

/*     */   {
/* 335 */     if ((index == 0) || (index == 1) || (index == 3) || (index == 5) || (index == 6) || (index == 8) || (index == 10) || (index == 11))
/*     */     {
/* 337 */       return null;
/* 338 */     }if (index == 2)
/* 339 */       return new Float(-3.402824E+038F);
/* 340 */     if (index == 7)
/* 341 */       return new Float(0.0F);
/* 342 */     if (index == 4)
/* 343 */       return new Float(1.0F);
/* 344 */     if ((index == 12) || (index == 9))
/* 345 */       return new Integer(0);
/* 346 */     if (index == 13) {
/* 347 */       return new Integer(1);
/*     */     }
View Full Code Here

/*     */   {
/* 363 */     if ((index == 0) || (index == 1) || (index == 3) || (index == 5) || (index == 6) || (index == 8) || (index == 10) || (index == 11))
/*     */     {
/* 365 */       return null;
/* 366 */     }if ((index == 2) || (index == 4) || (index == 7))
/* 367 */       return new Float(3.4028235E+38F);
/* 368 */     if (index == 9)
/* 369 */       return new Integer(270);
/* 370 */     if (index == 12)
/* 371 */       return new Integer(100);
/* 372 */     if (index == 13) {
View Full Code Here

TOP

Related Classes of java.awt.geom.Rectangle2D.Float

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.