gzz.media
Interface PageSpan
- All Superinterfaces:
- ImageSpan, Span, Span1D
- All Known Implementing Classes:
- ScrollBlockManager.PageSpanBase
- public interface PageSpan
- extends ImageSpan, Span1D
A page span - contiguous piece of a permascroll consisting of
pages of the same size - e.g.postscript or pdf file.
These spans are rectangular regions of one or more pages.
ImageSpan.getImage should return the image of a page when a single
page is in the span, calling getImage for a PageSpan of more than one
page is currently undefined (!!), waiting for a decision between showing
the first page, the first page in a graphical representation showing
a stack of pages, some type of splicing of the pages or whatever.
It is also possible that it will be decided that an IllegalArgumentException
should be thrown in this case.
Fields inherited from interface gzz.media.Span |
rcsid |
Method Summary |
PageSpan |
subArea(int page0,
int page1)
|
PageSpan |
subArea(int page0,
int page1,
int x,
int y,
int w,
int h)
Get a subspan of the current span. |
subArea
public PageSpan subArea(int page0,
int page1,
int x,
int y,
int w,
int h)
- Get a subspan of the current span.
The coordinates are relative to this span.
subArea
public PageSpan subArea(int page0,
int page1)