public class RectangleData extends ShapeData
READONLY_FLAG, settings| Constructor and Description |
|---|
RectangleData()
Creates a new instance with a default rectangle.
|
RectangleData(double x,
double y,
double width,
double height)
Creates a new instance of the RectangleData.
|
RectangleData(omero.model.Shape shape)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getHeight()
Returns the height untransformed rectangle.
|
java.lang.String |
getText()
Returns the text of the shape.
|
double |
getWidth()
Returns the width untransformed rectangle.
|
double |
getX()
Returns the x-coordinate of the top-left corner of an untransformed
rectangle.
|
double |
getY()
Returns the y-coordinate of the top-left corner of an
untransformed rectangle.
|
void |
setHeight(double height)
Sets the height of an untransformed rectangle.
|
void |
setText(java.lang.String text)
Sets the text of the shape.
|
void |
setWidth(double width)
Sets width of an untransformed rectangle.
|
void |
setX(double x)
Sets the x-coordinate of the top-left corner of an
untransformed rectangle.
|
void |
setY(double y)
Sets the y-coordinate of the top-left corner of an untransformed
rectangle.
|
fromPoints, getC, getROICoordinate, getShapeSettings, getT, getTransform, getZ, isClientObject, isReadOnly, parsePointsToIntegerList, parsePointsToPoint2DList, setC, setClientObject, setDirty, setReadOnly, setROICoordinate, setShapeSettings, setT, setTransform, setZ, toNumber, toPointsasAnnotation, asChannel, asDataset, asExperimenter, asFolder, asGroup, asIAnnotated, asImage, asIObject, asPixels, asPlaneInfo, asPlate, asPojo, asPojos, asPojos, asProject, asScreen, asWell, asWellSample, canAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, getCreated, getDetails, getGroupId, getId, getOwner, getPermissions, getUpdated, getVersion, isDirty, isLoaded, nullDetails, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, setId, setValue, setVersion, timeOfEvent, toStringpublic RectangleData(omero.model.Shape shape)
shape - The shape this object represents.public RectangleData()
public RectangleData(double x,
double y,
double width,
double height)
x - The x-coordinate of the top-left corner.y - The y-coordinate of the top-left corner.width - The width of the rectangle.height - The height of the rectangle.public java.lang.String getText()
public void setText(java.lang.String text)
text - See above.public double getX()
public void setX(double x)
x - See above.public double getY()
public void setY(double y)
y - See above.public double getWidth()
public void setWidth(double width)
width - See above.public double getHeight()
public void setHeight(double height)
height - See above.