|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.cybertory.MSS.Packed2ZonesMaLayout
This class encapsulates the layout of a microarray with 2 zones overlapping to produce the effect of tight packing, such as in Agilent arrays. The second zone is offset from the first by half the feature cell width and height.
Constructor Summary | |
Packed2ZonesMaLayout(int z1NumCols,
int z1NumRows,
int z2NumCols,
int z2NumRows,
float leftMargin,
float rightMargin,
float topMargin,
float bottomMargin,
float featureCellSizeX,
float featureCellSizeY)
|
Method Summary | |
MaDimensions |
getDimensions()
|
float |
getHeight()
Returns image height in pixels |
java.lang.Object |
getScaled(float pixelSize)
|
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 class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Packed2ZonesMaLayout(int z1NumCols, int z1NumRows, int z2NumCols, int z2NumRows, float leftMargin, float rightMargin, float topMargin, float bottomMargin, float featureCellSizeX, float featureCellSizeY)
Method Detail |
public java.lang.Object getScaled(float pixelSize)
getScaled
in interface SelfScaler
public MaDimensions getDimensions()
getDimensions
in interface MaLayout
public float getWidth()
MaLayout
getWidth
in interface MaLayout
public float getHeight()
MaLayout
getHeight
in interface MaLayout
public java.awt.geom.Point2D getZoneLocation(int zoneIndex)
MaLayout
getZoneLocation
in interface MaLayout
zoneIndex
- the zero-based index of the zone of interest.
Point2D
object with the pixel coordinates of the
upper-left corner of the zone.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |