Uses of Interface
com.snowtide.pdf.layout.Region
-
Packages that use Region Package Description com.snowtide.pdf This package contains a variety of core abstractions representing PDFDocument
s and theirPage
s, as well as various PDFxStream interfaces and implementations thereof that simply many PDF data extraction use cases.com.snowtide.pdf.forms This package contains interfaces and classes that PDFxStream uses to represent various types of form data present in PDFDocument
s.com.snowtide.pdf.layout This package contains interfaces and classes that PDFxStream uses to represent the document model implicitly defined by the content rendered by eachPage
in a PDFDocument
. -
-
Uses of Region in com.snowtide.pdf
Methods in com.snowtide.pdf that return Region Modifier and Type Method Description Region
Page. getCropBox()
The "crop box" defined by the PDF for this page, expressed in user space units as withPage.getPageHeight()
andPage.getPageWidth()
.Methods in com.snowtide.pdf with parameters of type Region Modifier and Type Method Description Page
Page. crop(Region area)
Returns aPage
instance that contains only the content held by thisPage
instance that intersects the given "query" area. -
Uses of Region in com.snowtide.pdf.forms
Methods in com.snowtide.pdf.forms that return Region Modifier and Type Method Description Region
AcroRadioButtonGroupField. bounds()
Returns the region on the page where this radio button group is positioned. -
Uses of Region in com.snowtide.pdf.layout
Classes in com.snowtide.pdf.layout that implement Region Modifier and Type Class Description class
Rectangle
Concrete representation of aRegion
, with utility methods.Methods in com.snowtide.pdf.layout that return Region Modifier and Type Method Description Region
Image. bitmapBounds()
Region
Bounded. bounds()
Region
Rectangle. bounds()
Region
Region. bounds()
Instances ofRegion
will always return themselves from theirbounds
implementations.Methods in com.snowtide.pdf.layout with parameters of type Region Modifier and Type Method Description static boolean
Rectangle. contains(Region query, Region r)
Returns true only ifr
is entirely contained withinquery
.Block
Block. crop(Region area)
Returns aBlock
that contains only the content held by thisBlock
that intersects the given "query" area.static Rectangle
Rectangle. intersection(Region... regions)
Returns a Rectangle that is the intersection ofstart
and all of the remaining provided Regions, or null if there is no common intersection.static boolean
Rectangle. intersects(Region r1, Region r2)
Returns true only if any portion of the two Regions intersect.static Rectangle
Rectangle. union(Region... regions)
Returns aRectangle
whose coordinates represent the minimum bounding rectangle of all of the provided rectangles.Constructors in com.snowtide.pdf.layout with parameters of type Region Constructor Description Rectangle(Region src)
-