public class Overlay extends StackArranger
We have no Z implemented yet, so we always overlay at z position 0.
Constructor and Description |
---|
Overlay() |
Overlay(Align align) |
Overlay(String alignX,
String alignY,
String alignZ)
Creates with alignment text for each axis.
|
Modifier and Type | Method and Description |
---|---|
StackArrangement |
arrangeStacks(Iterator<Extent> extents,
OperationContext context)
Arranges stacks to that they fit together in a single raster.
|
String |
describeBean()
A (maybe longer) description identifying the bean and perhaps its key parameters.
|
Align |
getAlign()
Indicates how to align the image across the three axes.
|
void |
setAlign(Align align)
Indicates how to align the image across the three axes.
|
combine, combine
checkMisconfigured, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public Overlay(String alignX, String alignY, String alignZ)
alignX
- indicates how to align the image across the X-axis: one of top,
bottom, center
.alignY
- indicates how to align the image across the Y-axis (i.e. vertically):
one of top, bottom, center
.alignZ
- indicates how to align the image across the Z-axis: one of top,
bottom, center, repeat
. See alignZ
.public Overlay()
public Overlay(Align align)
public String describeBean()
AnchorBean
By default, it returns the same as AnchorBean.getBeanName()
but beans can optionally override
it
describeBean
in class AnchorBean<StackArranger>
public StackArrangement arrangeStacks(Iterator<Extent> extents, OperationContext context) throws ArrangeStackException
StackArranger
arrangeStacks
in class StackArranger
extents
- the size of each respective stack for the arrangement.context
- objects for the operation.RGBStack
in the unified plane.ArrangeStackException
- if a bounding-box cannot be determined for any stack.public Align getAlign()
public void setAlign(Align align)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.