public class Flatten extends DrawObject
Note it doesn't cache the underlying writer.
Constructor and Description |
---|
Flatten() |
Flatten(DrawObject writer) |
Modifier and Type | Method and Description |
---|---|
void |
drawSingle(ObjectWithProperties object,
RGBStack stack,
ObjectDrawAttributes attributes,
int iteration,
BoundingBox restrictTo)
Draws a single-object on top of a RGB-stack.
|
DrawObject |
getWriter() |
void |
setWriter(DrawObject writer) |
drawCollection, drawCollection
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public Flatten()
public Flatten(DrawObject writer)
public void drawSingle(ObjectWithProperties object, RGBStack stack, ObjectDrawAttributes attributes, int iteration, BoundingBox restrictTo) throws OperationFailedException
DrawObject
drawSingle
in class DrawObject
object
- the object to draw.stack
- the image to draw on.attributes
- attributes for each object when drawing.iteration
- the current iteration.restrictTo
- a restriction on which part of stack we draw onto to (considered in terms
of the possibly-zoomed pixel coordinates).OperationFailedException
- if the object cannot be successfully drawn.public DrawObject getWriter()
public void setWriter(DrawObject writer)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.