Modifier | Constructor and Description |
---|---|
protected |
RenderedPageValidator(com.pdfunit.internal.spi.IDocument pdfDocument) |
Modifier and Type | Method and Description |
---|---|
RenderedPageValidator |
isEqualToImage(java.awt.image.BufferedImage renderedImage)
This method compares an image of a page with a defined page of the current PDF.
|
RenderedPageValidator |
isEqualToImage(java.io.File referencedImageFile)
This method compares an image of a page with a defined page of the current PDF.
|
RenderedPageValidator |
isEqualToImage(int upperLeftX,
int upperLeftY,
FormatUnit unit,
java.awt.image.BufferedImage expectedImage)
This method compares a rectangle of a page of the current PDF document to
the given image.
|
RenderedPageValidator |
isEqualToImage(int upperLeftX,
int upperLeftY,
FormatUnit unit,
java.io.File imageFile)
This method compares a rectangle of a page of the current PDF document to
the image, created from the file parameter.
|
RenderedPageValidator |
isEqualToImage(int upperLeftX,
int upperLeftY,
FormatUnit unit,
java.lang.String imageFileName)
This method compares a rectangle of a page of the current PDF document to
the image, created from the filename parameter.
|
RenderedPageValidator |
isEqualToImage(java.lang.String renderedImageFilename)
This method compares an image of a page with a defined page of the current PDF.
|
RenderedPageValidator |
isEqualToImages(java.awt.image.BufferedImage... renderedImages)
This method compares images of a one or more pages with defined pages of the current PDF.
|
RenderedPageValidator |
isEqualToImages(java.io.File... referencedImageFiles)
This method compares images of a one or more pages with defined pages of the current PDF.
|
RenderedPageValidator |
isEqualToImages(int upperLeftX,
int upperLeftY,
FormatUnit unit,
java.awt.image.BufferedImage... renderedImages) |
RenderedPageValidator |
isEqualToImages(int upperLeftX,
int upperLeftY,
FormatUnit unit,
java.io.File... referencedImageFiles) |
RenderedPageValidator |
isEqualToImages(int upperLeftX,
int upperLeftY,
FormatUnit unit,
java.lang.String... renderedImageFilenames) |
RenderedPageValidator |
isEqualToImages(java.lang.String... renderedImageFilenames)
This method compares images of a one or more pages with defined pages of the current PDF.
|
protected void |
setPagenumbersInEffect(java.util.List<java.lang.Integer> pageNumbersToUse) |
protected RenderedPageValidator(com.pdfunit.internal.spi.IDocument pdfDocument)
@Guarded public RenderedPageValidator isEqualToImage(java.awt.image.BufferedImage renderedImage)
isEqualToImages(BufferedImage...)
@Guarded public RenderedPageValidator isEqualToImages(java.awt.image.BufferedImage... renderedImages)
This method is functional the same as the method with the same name in singular, but it can compare multiple images to multiple pages.
isEqualToImage(BufferedImage)
@Guarded public RenderedPageValidator isEqualToImages(int upperLeftX, int upperLeftY, FormatUnit unit, java.awt.image.BufferedImage... renderedImages)
@Guarded public RenderedPageValidator isEqualToImage(java.io.File referencedImageFile)
isEqualToImages(File...)
@Guarded public RenderedPageValidator isEqualToImages(java.io.File... referencedImageFiles)
This method is functional the same as the method with the same name in singular, but it can compare multiple images to multiple pages.
isEqualToImage(File)
@Guarded public RenderedPageValidator isEqualToImages(int upperLeftX, int upperLeftY, FormatUnit unit, java.io.File... referencedImageFiles)
@Guarded public RenderedPageValidator isEqualToImage(java.lang.String renderedImageFilename)
isEqualToImages(String...)
@Guarded public RenderedPageValidator isEqualToImages(java.lang.String... renderedImageFilenames)
This method is functional the same as the method with the same name in singular, but it can compare multiple images to multiple pages.
isEqualToImage(String)
@Guarded public RenderedPageValidator isEqualToImages(int upperLeftX, int upperLeftY, FormatUnit unit, java.lang.String... renderedImageFilenames)
@Guarded public RenderedPageValidator isEqualToImage(int upperLeftX, int upperLeftY, FormatUnit unit, java.lang.String imageFileName)
The rectangle is given by the first and second parameter of this methods defining the upper left corner. Width and height are detected from the given image.
@Guarded public RenderedPageValidator isEqualToImage(int upperLeftX, int upperLeftY, FormatUnit unit, java.io.File imageFile)
The rectangle is given by the first and second parameter of this methods defining the upper left corner. Width and height are detected from the given image.
@Guarded public RenderedPageValidator isEqualToImage(int upperLeftX, int upperLeftY, FormatUnit unit, java.awt.image.BufferedImage expectedImage)
The rectangle is given by the first and second parameter of this methods defining the upper left corner. Width and height are detected from the given image.
protected void setPagenumbersInEffect(java.util.List<java.lang.Integer> pageNumbersToUse)
Copyright (C) PDFUnit.com. See here for license.