com.levigo.jadice.document.model
Class DocumentModelInfo

java.lang.Object
  extended by com.levigo.jadice.document.model.DocumentModelInfo

public class DocumentModelInfo
extends Object


Constructor Summary
DocumentModelInfo(com.levigo.jadice.document.internal.render.DocumentModelStatistics dmii)
          Deprecated. Use get(Page) or get(PageSegment) instead.
 
Method Summary
static DocumentModelInfo get(Page page)
          Return the model information for the given page.
static DocumentModelInfo get(PageSegment ps)
          Return the model information for the given page segment.
 Resolution getMaximumImageResolution()
           
 Resolution getMinimumImageResolution()
           
 int getNumberOfImages()
           
 List<Rectangle2D> getTranslucentRegions()
           
 List<Rectangle2D> getTransparentRegions()
           
 boolean isColored()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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.

Method Detail

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()


Copyright © 2017 levigo holding gmbh. All rights reserved.