org.cybertory.MSS
Interface MaLayout

All Superinterfaces:
SelfScaler
All Known Implementing Classes:
GridMaLayout, Packed2ZonesMaLayout

public interface MaLayout
extends SelfScaler

An interface for classes to specify the size of the microarray image and the locations of the zones.


Method Summary
 MaDimensions getDimensions()
           
 float getHeight()
          Returns image height in pixels
 float getWidth()
          Returns image width in pixels
 java.awt.geom.Point2D getZoneLocation(int zoneIndex)
          Get the location of a zone, given the index.
 
Methods inherited from interface org.cybertory.MSS.SelfScaler
getScaled
 

Method Detail

getWidth

public float getWidth()
Returns image width in pixels


getHeight

public float getHeight()
Returns image height in pixels


getDimensions

public MaDimensions getDimensions()

getZoneLocation

public java.awt.geom.Point2D getZoneLocation(int zoneIndex)
Get the location of a zone, given the index.

Parameters:
zoneIndex - the zero-based index of the zone of interest.
Returns:
Point2D object with the pixel coordinates of the upper-left corner of the zone.