Examples of addBorder()


Examples of com.lowagie.text.rtf.table.RtfBorderGroup.addBorder()

           
            // Create a simple RtfCell that has different borders
            // on the left and bottom sides.
            RtfCell mixedBorder = new RtfCell("Mixed border");
            RtfBorderGroup mixedBorders = new RtfBorderGroup();
            mixedBorders.addBorder(LwgRectangle.RIGHT,
                    RtfBorder.BORDER_DOUBLE_WAVY, 2, Color.GREEN);
            mixedBorders.addBorder(LwgRectangle.BOTTOM,
                    RtfBorder.BORDER_DOT_DASH, 1, Color.BLUE);
            mixedBorder.setBorders(mixedBorders);
           
View Full Code Here

Examples of com.lowagie.text.rtf.table.RtfBorderGroup.addBorder()

            // on the left and bottom sides.
            RtfCell mixedBorder = new RtfCell("Mixed border");
            RtfBorderGroup mixedBorders = new RtfBorderGroup();
            mixedBorders.addBorder(LwgRectangle.RIGHT,
                    RtfBorder.BORDER_DOUBLE_WAVY, 2, Color.GREEN);
            mixedBorders.addBorder(LwgRectangle.BOTTOM,
                    RtfBorder.BORDER_DOT_DASH, 1, Color.BLUE);
            mixedBorder.setBorders(mixedBorders);
           
            // Add the cells to the table
            table.addCell(cellDotted);
View Full Code Here

Examples of com.lowagie.text.rtf.table.RtfBorderGroup.addBorder()

           
            // Create a simple RtfCell that has different borders
            // on the left and bottom sides.
            RtfCell mixedBorder = new RtfCell("Mixed border");
            RtfBorderGroup mixedBorders = new RtfBorderGroup();
            mixedBorders.addBorder(Rectangle.RIGHT,
                    RtfBorder.BORDER_DOUBLE_WAVY, 2, Color.GREEN);
            mixedBorders.addBorder(Rectangle.BOTTOM,
                    RtfBorder.BORDER_DOT_DASH, 1, Color.BLUE);
            mixedBorder.setBorders(mixedBorders);
           
View Full Code Here

Examples of com.lowagie.text.rtf.table.RtfBorderGroup.addBorder()

            // on the left and bottom sides.
            RtfCell mixedBorder = new RtfCell("Mixed border");
            RtfBorderGroup mixedBorders = new RtfBorderGroup();
            mixedBorders.addBorder(Rectangle.RIGHT,
                    RtfBorder.BORDER_DOUBLE_WAVY, 2, Color.GREEN);
            mixedBorders.addBorder(Rectangle.BOTTOM,
                    RtfBorder.BORDER_DOT_DASH, 1, Color.BLUE);
            mixedBorder.setBorders(mixedBorders);
           
            // Add the cells to the table
            table.addCell(cellDotted);
View Full Code Here

Examples of nl.captcha.Captcha.Builder.addBorder()

        }

      }
    }
    if (isBorder()) {
      captcha.addBorder();
    }
    this.captcha = captcha.build();

    return captcha.build().getImage();
  }
View Full Code Here

Examples of nl.captcha.Captcha.Builder.addBorder()

        }

      }
    }
    if (isBorder()) {
      captcha.addBorder();
    }
    return captcha.build().getImage();
  }

  private List<String> getWords() {
View Full Code Here

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

     
      // add border
      if(showborder) {
        try {
          img = new Image(bi);
          img.addBorder(1,Color.BLACK,Image.BORDER_TYPE_CONSTANT);
          bi=img.getBufferedImage();
        }
        catch (PageException e) {}
      }
      if(format==FORMAT_PNG)    ChartUtilities.writeBufferedImageAsPNG(os, bi);
View Full Code Here

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

    else if("copy".equals(strBorderType))    borderType=BorderExtender.BORDER_COPY;
    else if("reflect".equals(strBorderType))  borderType=BorderExtender.BORDER_REFLECT;
    else if("wrap".equals(strBorderType))    borderType=BorderExtender.BORDER_WRAP;
     
    Image image=Image.toImage(name);
    image.addBorder((int)thickness,ColorCaster.toColor(color),borderType);
   
   
    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.