gzz.media
Interface ImageSpan

gzz.media.Span gzz.media.Enfilade1D gzz.media.Span1D gzz.media.TextSpan gzz.media.ImageSpan gzz.media.PageSpan gzz.media.VideoSpan gzz.media.AudioSpan gzz.media.ScrollBlock ../../../Gzz_CoreAPIs.gen.html#media media_small
All Superinterfaces:
Span
All Known Subinterfaces:
PageSpan, VideoSpan
All Known Implementing Classes:
ScrollBlockManager.ImageSpanBase, ScrollBlockManager.PageSpanBase

public interface ImageSpan
extends Span

An image span - contiguous piece of a permascroll -. Spans in images are rectangular regions.


Field Summary
 
Fields inherited from interface gzz.media.Span
rcsid
 
Method Summary
 java.awt.Point getLocation()
          Get the location of this span in the mediaserver block.
 java.awt.Dimension getSize()
          Get the size of the image in pixels, at the default resolution.
 ImageSpan subArea(int x0, int y0, int w, int h)
          Get a subspan of the current span.
 
Methods inherited from interface gzz.media.Span
getScrollBlock, intersects, toString
 

Method Detail

getLocation

public java.awt.Point getLocation()
Get the location of this span in the mediaserver block.


getSize

public java.awt.Dimension getSize()
Get the size of the image in pixels, at the default resolution.


subArea

public ImageSpan subArea(int x0,
                         int y0,
                         int w,
                         int h)
Get a subspan of the current span. The coordinates are relative to this span.