com.levigo.jadice.document.model
Class DocumentModelInfo
java.lang.Object
com.levigo.jadice.document.model.DocumentModelInfo
public class DocumentModelInfo
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DocumentModelInfo
public DocumentModelInfo(com.levigo.jadice.document.internal.render.DocumentModelStatistics dmii)
- Deprecated. Use
get(Page)
or get(PageSegment)
instead.
- DO NOT USE. Just for internal purposes.
get
public static DocumentModelInfo get(PageSegment ps)
- Return the model information for the given page segment.
- Parameters:
ps
- the page segment
- Returns:
- the page segment's DocumentModelInfo
get
public static DocumentModelInfo get(Page page)
- Return the model information for the given page.
- Parameters:
page
- the page
- Returns:
- the page's DocumentModelInfo
getNumberOfImages
public int getNumberOfImages()
getMaximumImageResolution
public Resolution getMaximumImageResolution()
getMinimumImageResolution
public Resolution getMinimumImageResolution()
getTransparentRegions
public List<Rectangle2D> getTransparentRegions()
getTranslucentRegions
public List<Rectangle2D> getTranslucentRegions()
isColored
public boolean isColored()