Modifier and Type | Method and Description |
---|---|
Rectangle |
Barcode128.getBarcodeSize()
Gets the maximum area that the barcode and the text, if any, will occupy.
|
abstract Rectangle |
Barcode1D.getBarcodeSize()
Gets the maximum area that the barcode and the text, if any, will occupy.
|
abstract Rectangle |
Barcode2D.getBarcodeSize()
Gets the maximum area that the barcode and the text, if any, will occupy.
|
Rectangle |
Barcode39.getBarcodeSize()
Gets the maximum area that the barcode and the text, if any, will occupy.
|
Rectangle |
BarcodeCodabar.getBarcodeSize()
Gets the maximum area that the barcode and the text, if any, will occupy.
|
Rectangle |
BarcodeDataMatrix.getBarcodeSize() |
Rectangle |
BarcodeEAN.getBarcodeSize()
Gets the maximum area that the barcode and the text, if any, will occupy.
|
Rectangle |
BarcodeEANSUPP.getBarcodeSize()
Gets the maximum area that the barcode and the text, if any, will occupy.
|
Rectangle |
BarcodeInter25.getBarcodeSize()
Gets the maximum area that the barcode and the text, if any, will occupy.
|
Rectangle |
BarcodeMSI.getBarcodeSize()
Gets the maximum area that the barcode and the text, if any, will occupy.
|
Rectangle |
BarcodePDF417.getBarcodeSize() |
Rectangle |
BarcodePostnet.getBarcodeSize() |
Rectangle |
BarcodeQRCode.getBarcodeSize()
Gets the size of the barcode grid
|
Rectangle |
BarcodeQRCode.getBarcodeSize(float moduleSize)
Gets the barcode size
|
Rectangle |
BarcodeDataMatrix.getBarcodeSize(float moduleHeight, float moduleWidth)
Gets the barcode size
|
abstract Rectangle |
Barcode2D.placeBarcode(PdfCanvas canvas, Color foreground)
Places the barcode in a PdfCanvas .
|
Rectangle |
BarcodeDataMatrix.placeBarcode(PdfCanvas canvas, Color foreground) |
Rectangle |
BarcodePDF417.placeBarcode(PdfCanvas canvas, Color foreground) |
Rectangle |
BarcodeQRCode.placeBarcode(PdfCanvas canvas, Color foreground) |
Rectangle |
Barcode128.placeBarcode(PdfCanvas canvas, Color barColor, Color textColor)
Places the barcode in a PdfCanvas .
|
abstract Rectangle |
Barcode1D.placeBarcode(PdfCanvas canvas, Color barColor, Color textColor)
Places the barcode in a PdfCanvas .
|
Rectangle |
Barcode39.placeBarcode(PdfCanvas canvas, Color barColor, Color textColor)
Places the barcode in a PdfCanvas .
|
Rectangle |
BarcodeCodabar.placeBarcode(PdfCanvas canvas, Color barColor, Color textColor)
Places the barcode in a PdfCanvas .
|
Rectangle |
BarcodeEAN.placeBarcode(PdfCanvas canvas, Color barColor, Color textColor)
Places the barcode in a PdfCanvas .
|
Rectangle |
BarcodeEANSUPP.placeBarcode(PdfCanvas canvas, Color barColor, Color textColor)
Places the barcode in a PdfCanvas .
|
Rectangle |
BarcodeInter25.placeBarcode(PdfCanvas canvas, Color barColor, Color textColor)
Places the barcode in a PdfCanvas .
|
Rectangle |
BarcodeMSI.placeBarcode(PdfCanvas canvas, Color barColor, Color textColor)
Places the barcode in a PdfCanvas .
|
Rectangle |
BarcodePostnet.placeBarcode(PdfCanvas canvas, Color barColor, Color textColor) |
Rectangle |
BarcodeDataMatrix.placeBarcode(PdfCanvas canvas, Color foreground, float moduleSide) |
Rectangle |
BarcodeQRCode.placeBarcode(PdfCanvas canvas, Color foreground, float moduleSide)
* Places the barcode in a PdfCanvas .
|
Rectangle |
BarcodePDF417.placeBarcode(PdfCanvas canvas, Color foreground, float moduleWidth, float moduleHeight) |
Modifier and Type | Method and Description |
---|---|
protected Rectangle |
PdfFormField.getRect(PdfDictionary field) |
Modifier and Type | Method and Description |
---|---|
static PdfButtonFormField |
PdfFormField.createButton(PdfDocument doc, Rectangle rect, int flags)
Creates an empty button form field with custom behavior and layout, on a specified location.
|
static PdfButtonFormField |
PdfFormField.createButton(PdfDocument doc, Rectangle rect, int flags, PdfAConformanceLevel pdfAConformanceLevel)
Creates an empty button form field with custom behavior and layout, on a specified location.
|
static PdfButtonFormField |
PdfFormField.createCheckBox(PdfDocument doc, Rectangle rect, String name, String value)
Creates a PdfButtonFormField as a checkbox.
|
static PdfButtonFormField |
PdfFormField.createCheckBox(PdfDocument doc, Rectangle rect, String name, String value, int checkType)
Creates a PdfButtonFormField as a checkbox.
|
static PdfButtonFormField |
PdfFormField.createCheckBox(PdfDocument doc, Rectangle rect, String name, String value, int checkType, PdfAConformanceLevel pdfAConformanceLevel)
Creates a PdfButtonFormField as a checkbox.
|
static PdfChoiceFormField |
PdfFormField.createChoice(PdfDocument doc, Rectangle rect, int flags)
Creates an empty choice form field with custom behavior and layout, on a specified location.
|
static PdfChoiceFormField |
PdfFormField.createChoice(PdfDocument doc, Rectangle rect, String name, String value, PdfArray options, int flags)
Creates a choice form field with custom behavior and layout, on a specified location.
|
static PdfChoiceFormField |
PdfFormField.createChoice(PdfDocument doc, Rectangle rect, String name, String value, PdfArray options, int flags, PdfFont font, PdfAConformanceLevel pdfAConformanceLevel)
Creates a choice form field with custom behavior and layout, on a specified location.
|
static PdfChoiceFormField |
PdfFormField.createChoice(PdfDocument doc, Rectangle rect, String name, String value, PdfFont font, float fontSize, PdfArray options, int flags)
Creates a choice form field with custom behavior and layout, on a specified location.
|
static PdfChoiceFormField |
PdfFormField.createChoice(PdfDocument doc, Rectangle rect, String name, String value, PdfFont font, float fontSize, PdfArray options, int flags, PdfAConformanceLevel pdfAConformanceLevel)
Creates a choice form field with custom behavior and layout, on a specified location.
|
static PdfChoiceFormField |
PdfFormField.createComboBox(PdfDocument doc, Rectangle rect, String name, String value, String[] options)
Creates a combobox with custom behavior and layout, on a specified location.
|
static PdfChoiceFormField |
PdfFormField.createComboBox(PdfDocument doc, Rectangle rect, String name, String value, String[][] options)
Creates a combobox with custom behavior and layout, on a specified location.
|
static PdfChoiceFormField |
PdfFormField.createComboBox(PdfDocument doc, Rectangle rect, String name, String value, String[][] options, PdfFont font, PdfAConformanceLevel pdfAConformanceLevel)
Creates a combobox with custom behavior and layout, on a specified location.
|
static PdfChoiceFormField |
PdfFormField.createComboBox(PdfDocument doc, Rectangle rect, String name, String value, String[] options, PdfFont font, PdfAConformanceLevel pdfAConformanceLevel)
Creates a combobox with custom behavior and layout, on a specified location.
|
static PdfChoiceFormField |
PdfFormField.createList(PdfDocument doc, Rectangle rect, String name, String value, String[] options)
Creates a list field with custom behavior and layout, on a specified location.
|
static PdfChoiceFormField |
PdfFormField.createList(PdfDocument doc, Rectangle rect, String name, String value, String[][] options)
Creates a list field with custom behavior and layout, on a specified location.
|
static PdfChoiceFormField |
PdfFormField.createList(PdfDocument doc, Rectangle rect, String name, String value, String[][] options, PdfFont font, PdfAConformanceLevel pdfAConformanceLevel)
Creates a list field with custom behavior and layout, on a specified location.
|
static PdfChoiceFormField |
PdfFormField.createList(PdfDocument doc, Rectangle rect, String name, String value, String[] options, PdfFont font, PdfAConformanceLevel pdfAConformanceLevel)
Creates a list field with custom behavior and layout, on a specified location.
|
static PdfTextFormField |
PdfFormField.createMultilineText(PdfDocument doc, Rectangle rect, String name, String value)
Creates a named multiline text form field with an initial value, and the form's default font specified in PdfAcroForm.getDefaultResources() .
|
static PdfTextFormField |
PdfFormField.createMultilineText(PdfDocument doc, Rectangle rect, String name, String value, PdfFont font, float fontSize)
Creates a named multilined text form field with an initial value, with a specified font and font size.
|
static PdfButtonFormField |
PdfFormField.createPushButton(PdfDocument doc, Rectangle rect, String name, String caption)
Creates a PdfButtonFormField as a push button without data.
|
static PdfButtonFormField |
PdfFormField.createPushButton(PdfDocument doc, Rectangle rect, String name, String caption, PdfFont font, float fontSize)
Creates a PdfButtonFormField as a push button without data, with its caption in a custom font.
|
static PdfButtonFormField |
PdfFormField.createPushButton(PdfDocument doc, Rectangle rect, String name, String caption, PdfFont font, float fontSize, PdfAConformanceLevel pdfAConformanceLevel)
Creates a PdfButtonFormField as a push button without data, with its caption in a custom font.
|
static PdfFormField |
PdfFormField.createRadioButton(PdfDocument doc, Rectangle rect, PdfButtonFormField radioGroup, String value)
Creates a generic PdfFormField that is added to a radio group.
|
static PdfFormField |
PdfFormField.createRadioButton(PdfDocument doc, Rectangle rect, PdfButtonFormField radioGroup, String value, PdfAConformanceLevel pdfAConformanceLevel)
Creates a generic PdfFormField that is added to a radio group.
|
static PdfSignatureFormField |
PdfFormField.createSignature(PdfDocument doc, Rectangle rect)
Creates an empty signature form field .
|
static PdfSignatureFormField |
PdfFormField.createSignature(PdfDocument doc, Rectangle rect, PdfAConformanceLevel pdfAConformanceLevel)
Creates an empty signature form field .
|
static PdfTextFormField |
PdfFormField.createText(PdfDocument doc, Rectangle rect)
Creates an empty text form field .
|
static PdfTextFormField |
PdfFormField.createText(PdfDocument doc, Rectangle rect, String name)
Creates a named text form field with an initial value, and the form's default font specified in PdfAcroForm.getDefaultResources() .
|
static PdfTextFormField |
PdfFormField.createText(PdfDocument doc, Rectangle rect, String name, String value)
Creates a named text form field with an initial value, and the form's default font specified in PdfAcroForm.getDefaultResources() .
|
static PdfTextFormField |
PdfFormField.createText(PdfDocument doc, Rectangle rect, String name, String value, PdfFont font, float fontSize)
Creates a named text form field with an initial value, with a specified font and font size.
|
static PdfTextFormField |
PdfFormField.createText(PdfDocument doc, Rectangle rect, String name, String value, PdfFont font, float fontSize, boolean multiline)
Creates a named text form field with an initial value, with a specified font and font size.
|
static PdfTextFormField |
PdfFormField.createText(PdfDocument doc, Rectangle rect, String name, String value, PdfFont font, float fontSize, boolean multiline, PdfAConformanceLevel pdfAConformanceLevel)
Creates a named text form field with an initial value, with a specified font and font size.
|
protected void |
PdfFormField.drawMultiLineTextAppearance(Rectangle rect, PdfFont font, float fontSize, String value, PdfFormXObject appearance)
Deprecated.
|
protected void |
PdfFormField.drawMultiLineTextAppearance(Rectangle rect, PdfFont font, String value, PdfFormXObject appearance) |
protected void |
PdfFormField.drawTextAppearance(Rectangle rect, PdfFont font, float fontSize, String value, PdfFormXObject appearance)
Draws the visual appearance of text in a form field.
|
Modifier and Type | Class and Description |
---|---|
class |
PageSize |
Modifier and Type | Method and Description |
---|---|
Rectangle |
Rectangle.applyMargins(float topIndent, float rightIndent, float bottomIndent, float leftIndent, boolean reverse)
Change the rectangle according the specified margins.
|
static Rectangle |
Rectangle.calculateBBox(List<Point> points)
Calculates the bounding box of passed points.
|
Rectangle |
PageSize.clone()
Creates a "deep copy" of this PageSize, meaning the object returned by this method will be independent of the object being cloned.
|
Rectangle |
Rectangle.clone()
Creates a "deep copy" of this rectangle, meaning the object returned by this method will be independent of the object being cloned.
|
static Rectangle |
Rectangle.createBoundingRectangleFromQuadPoint(PdfArray quadPoints)
Create the bounding rectangle for the given array of quadpoints.
|
Rectangle |
Rectangle.decreaseHeight(float extra)
Decreases the height of rectangle by the given value.
|
Rectangle |
LineSegment.getBoundingRectangle()
Computes the bounding rectangle for this line segment.
|
static Rectangle |
Rectangle.getCommonRectangle(Rectangle... rectangles)
Calculates the common rectangle which includes all the input rectangles.
|
Rectangle |
Rectangle.getIntersection(Rectangle rect)
Get the rectangle representation of the intersection between this rectangle and the passed rectangle
|
static Rectangle |
Rectangle.getRectangleOnRotatedPage(Rectangle rect, PdfPage page)
Gets the rectangle as it looks on the rotated page and returns the rectangle in coordinates relevant to the true page origin.
|
Rectangle |
Rectangle.increaseHeight(float extra)
Increases the height of rectangle by the given value.
|
Rectangle |
Rectangle.moveDown(float move)
Decreases the y coordinate.
|
Rectangle |
Rectangle.moveLeft(float move)
Decreases the x coordinate.
|
Rectangle |
Rectangle.moveRight(float move)
Increases the x coordinate.
|
Rectangle |
Rectangle.moveUp(float move)
Increases the y coordinate.
|
Rectangle |
Rectangle.setBbox(float llx, float lly, float urx, float ury)
Sets the rectangle by the coordinates, specifying its lower left and upper right points.
|
Rectangle |
Rectangle.setHeight(float height)
Sets the height of rectangle.
|
Rectangle |
Rectangle.setWidth(float width)
Sets the width of rectangle.
|
Rectangle |
Rectangle.setX(float x)
Sets the X coordinate of lower left point.
|
Rectangle |
Rectangle.setY(float y)
Sets the Y coordinate of lower left point.
|
Modifier and Type | Method and Description |
---|---|
static List<Rectangle> |
Rectangle.createBoundingRectanglesFromQuadPoint(PdfArray quadPoints)
Create a list of bounding rectangles from an 8 x n array of Quadpoints.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Rectangle.contains(Rectangle rect)
Check if this rectangle contains the passed rectangle.
|
boolean |
Rectangle.equalsWithEpsilon(Rectangle that)
Compares instance of this rectangle with given deviation equals to 0.0001
|
boolean |
Rectangle.equalsWithEpsilon(Rectangle that, float eps)
Compares instance of this rectangle with given deviation.
|
static Rectangle |
Rectangle.getCommonRectangle(Rectangle... rectangles)
Calculates the common rectangle which includes all the input rectangles.
|
Rectangle |
Rectangle.getIntersection(Rectangle rect)
Get the rectangle representation of the intersection between this rectangle and the passed rectangle
|
static Rectangle |
Rectangle.getRectangleOnRotatedPage(Rectangle rect, PdfPage page)
Gets the rectangle as it looks on the rotated page and returns the rectangle in coordinates relevant to the true page origin.
|
boolean |
Rectangle.overlaps(Rectangle rect)
Check if this rectangle and the passed rectangle overlap
|
void |
Path.rectangle(Rectangle rect)
Appends a rectangle to the current path as a complete subpath.
|
Constructor and Description |
---|
PageSize(Rectangle box) |
Rectangle(Rectangle rect)
Creates the copy of given Rectangle
|
Modifier and Type | Method and Description |
---|---|
Rectangle |
PdfPage.getArtBox()
Gets the Rectangle object specified by page's ArtBox, that define the extent of the page’s meaningful content (including potential white space) as intended by the page’s creator.
|
Rectangle |
PdfDictionary.getAsRectangle(PdfName key)
Returns the value associated to this key as a Rectangle.
|
Rectangle |
PdfPage.getBleedBox()
Gets the Rectangle object specified by page's BleedBox, that define the region to which the contents of the page shall be clipped when output in a production environment.
|
Rectangle |
PdfPage.getCropBox()
Gets the Rectangle specified by page's CropBox, that defines the visible region of default user space.
|
Rectangle |
PdfPage.getMediaBox()
Gets Rectangle object specified by page's Media Box, that defines the boundaries of the physical medium on which the page shall be displayed or printed
|
Rectangle |
PdfPage.getPageSize()
Gets page size, defined by media box object.
|
Rectangle |
PdfPage.getPageSizeWithRotation()
Gets page size, considering page rotation.
|
Rectangle |
PdfPage.getTrimBox()
Gets the Rectangle object specified by page's TrimBox object, that define the intended dimensions of the finished page after trimming.
|
Rectangle |
PdfArray.toRectangle()
Returns the first four elements of this array as a PdfArray.
|
Modifier and Type | Method and Description |
---|---|
PdfPage |
PdfPage.setArtBox(Rectangle rectangle)
Sets the ArtBox object, that define the extent of the page’s meaningful content (including potential white space) as intended by the page’s creator.
|
PdfPage |
PdfPage.setBleedBox(Rectangle rectangle)
Sets the BleedBox object, that defines the region to which the contents of the page shall be clipped when output in a production environment.
|
PdfPage |
PdfPage.setCropBox(Rectangle rectangle)
Sets the CropBox object, that defines the visible region of default user space.
|
PdfPage |
PdfPage.setMediaBox(Rectangle rectangle)
Sets the Media Box object, that defines the boundaries of the physical medium on which the page shall be displayed or printed.
|
PdfPage |
PdfPage.setTrimBox(Rectangle rectangle)
Sets the TrimBox object, that define the intended dimensions of the finished page after trimming.
|
Constructor and Description |
---|
PdfArray(Rectangle rectangle)
Create a new PdfArray.
|
Modifier and Type | Method and Description |
---|---|
Rectangle |
Pdf3DAnnotation.getViewBox() |
Modifier and Type | Method and Description |
---|---|
static PdfTextMarkupAnnotation |
PdfTextMarkupAnnotation.createHighLight(Rectangle rect, float[] quadPoints)
Creates a text markup annotation of highlight style subtype.
|
static PdfPolyGeomAnnotation |
PdfPolyGeomAnnotation.createPolygon(Rectangle rect, float[] vertices) |
static PdfPolyGeomAnnotation |
PdfPolyGeomAnnotation.createPolyLine(Rectangle rect, float[] vertices) |
static PdfTextMarkupAnnotation |
PdfTextMarkupAnnotation.createSquiggly(Rectangle rect, float[] quadPoints)
Creates a text markup annotation of squiggly-underline type.
|
static PdfTextMarkupAnnotation |
PdfTextMarkupAnnotation.createStrikeout(Rectangle rect, float[] quadPoints)
Creates a text markup annotation of strikeout style subtype.
|
static PdfTextMarkupAnnotation |
PdfTextMarkupAnnotation.createUnderline(Rectangle rect, float[] quadPoints)
Creates a text markup annotation of underline style subtype.
|
Pdf3DAnnotation |
Pdf3DAnnotation.setViewBox(Rectangle viewBox) |
Modifier and Type | Method and Description |
---|---|
PdfXObject |
PdfCanvas.addImage(ImageData image, Rectangle rect, boolean asInline)
Creates Image XObject from image and adds it to canvas.
|
PdfCanvas |
PdfCanvas.addXObject(PdfXObject xObject, Rectangle rect)
Adds PdfXObject to specified rectangle on canvas.
|
PdfCanvas |
PdfCanvas.rectangle(Rectangle rectangle)
Draws a rectangle.
|
Modifier and Type | Method and Description |
---|---|
void |
DashedLine.draw(PdfCanvas canvas, Rectangle drawArea) |
void |
DottedLine.draw(PdfCanvas canvas, Rectangle drawArea) |
void |
ILineDrawer.draw(PdfCanvas canvas, Rectangle drawArea)
Performs configurable drawing operations related to specific region coordinates on a canvas.
|
void |
SolidLine.draw(PdfCanvas canvas, Rectangle drawArea) |
Constructor and Description |
---|
TextRegionEventFilter(Rectangle filterRect)
Constructs a filter instance.
|
Modifier and Type | Method and Description |
---|---|
Rectangle |
CharacterRenderInfo.getBoundingBox() |
Rectangle |
DefaultPdfTextLocation.getRectangle() |
Rectangle |
IPdfTextLocation.getRectangle() |
Rectangle |
TextMarginFinder.getTextRectangle()
Returns the common text rectangle, containing all the text found in the stream so far, ot null , if no text has been found yet.
|
Modifier and Type | Method and Description |
---|---|
protected List<Rectangle> |
RegexBasedLocationExtractionStrategy.toRectangles(List<CharacterRenderInfo> cris)
Converts CharacterRenderInfo objects to Rectangle s This method is protected and not final so that custom implementations can choose to override it.
|
Modifier and Type | Method and Description |
---|---|
DefaultPdfTextLocation |
DefaultPdfTextLocation.setRectangle(Rectangle rectangle) |
Constructor and Description |
---|
DefaultPdfTextLocation(int pageNr, Rectangle rect, String text) |
Modifier and Type | Method and Description |
---|---|
Rectangle |
PdfPattern.Tiling.getBBox()
Gets the pattern cell's bounding box.
|
Modifier and Type | Method and Description |
---|---|
void |
PdfPattern.Tiling.setBBox(Rectangle bbox)
Sets the pattern cell's bounding box.
|
Constructor and Description |
---|
Tiling(Rectangle bbox) |
Tiling(Rectangle bbox, boolean colored) |
Tiling(Rectangle bbox, float xStep, float yStep) |
Tiling(Rectangle bbox, float xStep, float yStep, boolean colored) |
Constructor and Description |
---|
PdfFormXObject(Rectangle bBox)
Creates a new instance of Form XObject.
|
Modifier and Type | Method and Description |
---|---|
String |
CompareTool.compareByContent(String outPdf, String cmpPdf, String outPath, String differenceImagePrefix, Map<Integer,List<Rectangle>> ignoredAreas)
Compares two PDF documents by content starting from page dictionaries and then recursively comparing corresponding objects which are referenced from them.
|
String |
CompareTool.compareByContent(String outPdf, String cmpPdf, String outPath, String differenceImagePrefix, Map<Integer,List<Rectangle>> ignoredAreas, byte[] outPass, byte[] cmpPass)
This method overload is used to compare two encrypted PDF documents.
|
String |
CompareTool.compareVisually(String outPdf, String cmpPdf, String outPath, String differenceImagePrefix, Map<Integer,List<Rectangle>> ignoredAreas)
Compares two documents visually.
|
Modifier and Type | Field and Description |
---|---|
protected Rectangle[] |
ColumnDocumentRenderer.columns |
protected Rectangle |
Canvas.rootArea |
Modifier and Type | Method and Description |
---|---|
Rectangle |
Document.getPageEffectiveArea(PageSize pageSize)
Returns the area that will actually be used to write on the page, given the current margins.
|
Rectangle |
Canvas.getRootArea()
Gets the root area rectangle.
|
Constructor and Description |
---|
Canvas(PdfCanvas pdfCanvas, PdfDocument pdfDocument, Rectangle rootArea)
Deprecated.
use
Canvas.Canvas(PdfCanvas, Rectangle) instead.
|
Canvas(PdfCanvas pdfCanvas, PdfDocument pdfDocument, Rectangle rootArea, boolean immediateFlush)
Deprecated.
use
Canvas.Canvas(PdfCanvas, Rectangle, boolean) instead.
|
Canvas(PdfCanvas pdfCanvas, Rectangle rootArea)
Creates a new Canvas to manipulate a specific content stream, which might be for example a page or PdfFormXObject stream.
|
Canvas(PdfCanvas pdfCanvas, Rectangle rootArea, boolean immediateFlush)
Creates a new Canvas to manipulate a specific document and page.
|
Canvas(PdfPage page, Rectangle rootArea)
Creates a new Canvas to manipulate a specific page content stream.
|
ColumnDocumentRenderer(Document document, boolean immediateFlush, Rectangle[] columns)
Creates a ColumnDocumentRenderer whose elements need not be flushed immediately.
|
ColumnDocumentRenderer(Document document, Rectangle[] columns)
Creates a ColumnDocumentRenderer.
|
Modifier and Type | Method and Description |
---|---|
protected void |
Border.drawDiscontinuousBorders(PdfCanvas canvas, Rectangle boundingRectangle, float[] horizontalRadii, float[] verticalRadii, Border.Side defaultSide, float borderWidthBefore, float borderWidthAfter)
Perform drawing operations to draw discontinuous borders.
|
Modifier and Type | Field and Description |
---|---|
protected Rectangle |
LayoutArea.bBox
The area's bounding box
|
Modifier and Type | Field and Description |
---|---|
protected List<Rectangle> |
LayoutContext.floatRendererAreas |
Modifier and Type | Method and Description |
---|---|
Rectangle |
LayoutArea.getBBox()
Gets the box which bounds the area.
|
Modifier and Type | Method and Description |
---|---|
List<Rectangle> |
LayoutContext.getFloatRendererAreas() |
Modifier and Type | Method and Description |
---|---|
void |
LayoutArea.setBBox(Rectangle bbox)
Sets the box which bounds the area.
|
Constructor and Description |
---|
LayoutArea(int pageNumber, Rectangle bBox)
Creates the area for content layouting .
|
RootLayoutArea(int pageNumber, Rectangle bBox) |
Constructor and Description |
---|
LayoutContext(LayoutArea area, MarginsCollapseInfo marginsCollapseInfo, List<Rectangle> floatedRendererAreas) |
LayoutContext(LayoutArea area, MarginsCollapseInfo marginsCollapseInfo, List<Rectangle> floatedRendererAreas, boolean clippedHeight) |
LineLayoutContext(LayoutArea area, MarginsCollapseInfo marginsCollapseInfo, List<Rectangle> floatedRendererAreas, boolean clippedHeight) |
Modifier and Type | Method and Description |
---|---|
void |
MarginsCollapseHandler.endChildMarginsHandling(Rectangle layoutBox)
This method shall be called after child occupied area is included into parent occupied area.
|
void |
MarginsCollapseHandler.endMarginsCollapse(Rectangle layoutBox) |
MarginsCollapseInfo |
MarginsCollapseHandler.startChildMarginsHandling(IRenderer child, Rectangle layoutBox) |
void |
MarginsCollapseHandler.startMarginsCollapse(Rectangle parentBBox) |
Modifier and Type | Method and Description |
---|---|
static double |
RotationMinMaxWidth.calculateRotatedWidth(Rectangle area, double angle)
Utility method for calculating rotated width of area in a similar way to other calculations in this class.
|
Modifier and Type | Method and Description |
---|---|
Rectangle |
AbstractRenderer.applyBorderBox(Rectangle rect, boolean reverse)
Applies the border box of the renderer on the given rectangle If the border of a certain side is null, the side will remain as it was.
|
protected Rectangle |
AbstractRenderer.applyBorderBox(Rectangle rect, Border[] borders, boolean reverse)
Applies the given border box (borders) on the given rectangle
|
protected Rectangle |
CellRenderer.applyBorderBox(Rectangle rect, Border[] borders, boolean reverse) |
protected Rectangle |
TableRenderer.applyBorderBox(Rectangle rect, Border[] borders, boolean reverse) |
Rectangle |
AbstractRenderer.applyMargins(Rectangle rect, boolean reverse)
Applies margins of the renderer on the given rectangle
|
protected Rectangle |
AbstractRenderer.applyMargins(Rectangle rect, UnitValue[] margins, boolean reverse)
Applies given margins on the given rectangle
|
protected Rectangle |
CellRenderer.applyMargins(Rectangle rect, UnitValue[] margins, boolean reverse) |
Rectangle |
AbstractRenderer.applyPaddings(Rectangle rect, boolean reverse)
Applies paddings of the renderer on the given rectangle
|
Rectangle |
TableRenderer.applyPaddings(Rectangle rect, boolean reverse) |
protected Rectangle |
AbstractRenderer.applyPaddings(Rectangle rect, UnitValue[] paddings, boolean reverse)
Applies given paddings on the given rectangle
|
protected Rectangle |
ImageRenderer.applyPaddings(Rectangle rect, UnitValue[] paddings, boolean reverse) |
protected Rectangle |
TableRenderer.applyPaddings(Rectangle rect, UnitValue[] paddings, boolean reverse) |
protected Rectangle |
CellRenderer.applySpacings(Rectangle rect, boolean reverse) |
protected Rectangle |
CellRenderer.applySpacings(Rectangle rect, float[] spacings, boolean reverse) |
protected Rectangle |
AbstractRenderer.calculateAbsolutePdfBBox()
Calculates the bounding box of the content in the coordinate system of the pdf entity on which content is placed, e.g.
|
protected Rectangle |
AbstractRenderer.calculateBBox(List<Point> points)
Calculates bounding box around points.
|
Rectangle |
AbstractRenderer.getBorderAreaBBox()
Gets the border box of a renderer.
|
Rectangle |
ImageRenderer.getBorderAreaBBox() |
Rectangle |
AbstractRenderer.getInnerAreaBBox() |
Rectangle |
AbstractRenderer.getOccupiedAreaBBox()
Gets the bounding box that contains all content written to the DrawContext by this IRenderer .
|
Rectangle |
BlockRenderer.getOccupiedAreaBBox() |
Modifier and Type | Method and Description |
---|---|
List<Rectangle> |
AbstractRenderer.initElementAreas(LayoutArea area)
Gets all rectangles that this IRenderer can draw upon in the given area.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractRenderer.alignChildHorizontally(IRenderer childRenderer, Rectangle currentArea) |
protected void |
AbstractRenderer.applyAbsolutePosition(Rectangle parentRect) |
Rectangle |
AbstractRenderer.applyBorderBox(Rectangle rect, boolean reverse)
Applies the border box of the renderer on the given rectangle If the border of a certain side is null, the side will remain as it was.
|
protected Rectangle |
AbstractRenderer.applyBorderBox(Rectangle rect, Border[] borders, boolean reverse)
Applies the given border box (borders) on the given rectangle
|
protected Rectangle |
CellRenderer.applyBorderBox(Rectangle rect, Border[] borders, boolean reverse) |
protected Rectangle |
TableRenderer.applyBorderBox(Rectangle rect, Border[] borders, boolean reverse) |
protected float |
BlockRenderer.applyBordersPaddingsMargins(Rectangle parentBBox, Border[] borders, UnitValue[] paddings) |
Rectangle |
AbstractRenderer.applyMargins(Rectangle rect, boolean reverse)
Applies margins of the renderer on the given rectangle
|
protected Rectangle |
AbstractRenderer.applyMargins(Rectangle rect, UnitValue[] margins, boolean reverse)
Applies given margins on the given rectangle
|
protected Rectangle |
CellRenderer.applyMargins(Rectangle rect, UnitValue[] margins, boolean reverse) |
Rectangle |
AbstractRenderer.applyPaddings(Rectangle rect, boolean reverse)
Applies paddings of the renderer on the given rectangle
|
Rectangle |
TableRenderer.applyPaddings(Rectangle rect, boolean reverse) |
protected Rectangle |
AbstractRenderer.applyPaddings(Rectangle rect, UnitValue[] paddings, boolean reverse)
Applies given paddings on the given rectangle
|
protected Rectangle |
ImageRenderer.applyPaddings(Rectangle rect, UnitValue[] paddings, boolean reverse) |
protected Rectangle |
TableRenderer.applyPaddings(Rectangle rect, UnitValue[] paddings, boolean reverse) |
protected void |
BlockRenderer.applyRotationLayout(Rectangle layoutBox) |
protected Rectangle |
CellRenderer.applySpacings(Rectangle rect, boolean reverse) |
protected Rectangle |
CellRenderer.applySpacings(Rectangle rect, float[] spacings, boolean reverse) |
protected boolean |
AbstractRenderer.clipBackgroundArea(DrawContext drawContext, Rectangle outerBorderBox) |
protected boolean |
AbstractRenderer.clipBackgroundArea(DrawContext drawContext, Rectangle outerBorderBox, boolean considerBordersBeforeClipping) |
protected boolean |
AbstractRenderer.clipBorderArea(DrawContext drawContext, Rectangle outerBorderBox) |
protected void |
TableRenderer.extendLastRow(CellRenderer[] lastRow, Rectangle freeBox) |
protected List<Point> |
AbstractRenderer.rectangleToPointsList(Rectangle rect) |
Modifier and Type | Method and Description |
---|---|
Rectangle |
PdfSignatureAppearance.getPageRect()
Provides the rectangle that represent the position and dimension of the signature field in the page.
|
protected Rectangle |
PdfSigner.getWidgetRectangle(PdfWidgetAnnotation widget)
Get the rectangle associated to the provided widget.
|
Modifier and Type | Method and Description |
---|---|
PdfSignatureAppearance |
PdfSignatureAppearance.setPageRect(Rectangle pageRect)
Sets the rectangle that represent the position and dimension of the signature field in the page.
|
Constructor and Description |
---|
PdfSignatureAppearance(PdfDocument document, Rectangle pageRect, int pageNumber)
Creates a PdfSignatureAppearance.
|
Modifier and Type | Method and Description |
---|---|
Rectangle |
PageMarginBoxContextNode.getContainingBlockForMarginBox() |
Rectangle |
PageMarginBoxContextNode.getPageMarginBoxRectangle()
Gets the rectangle in which page margin box contents should be shown.
|
Modifier and Type | Method and Description |
---|---|
void |
PageMarginBoxContextNode.setContainingBlockForMarginBox(Rectangle containingBlockForMarginBox)
Sets the containing block rectangle for the margin box, which is used for calculating some of the margin box properties relative values.
|
void |
PageMarginBoxContextNode.setPageMarginBoxRectangle(Rectangle pageMarginBoxRectangle)
Sets the rectangle in which page margin box contents are shown.
|
Modifier and Type | Method and Description |
---|---|
Rectangle |
SvgDrawContext.getCurrentViewPort()
Get the current viewbox.
|
Rectangle |
SvgDrawContext.getRootViewPort()
Get the viewbox which is the root viewport for the current document.
|
Modifier and Type | Method and Description |
---|---|
void |
SvgDrawContext.addViewPort(Rectangle viewPort)
Adds a viewbox to the context.
|
Copyright © 1998–2020 iText Group NV. All rights reserved.