|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpojos.DataObject
pojos.ShapeData
pojos.RectangleData
public class RectangleData
Represents a rectangle in the Euclidean space R2.
Field Summary |
---|
Fields inherited from class pojos.ShapeData |
---|
READONLY_FLAG, settings |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
double |
getHeight()
Returns the height untransformed rectangle. |
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(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. |
Methods inherited from class pojos.ShapeData |
---|
fromPoints, getC, getROICoordinate, getShapeSettings, getT, getTransform, getZ, isClientObject, isReadOnly, parsePointsToIntegerList, parsePointsToPoint2DList, setC, setClientObject, setDirty, setReadOnly, setROICoordinate, setShapeSettings, setT, setTransform, setZ, toNumber, toPoints |
Methods inherited from class pojos.DataObject |
---|
asAnnotation, asChannel, asDataset, asExperimenter, asGroup, asIAnnotated, asImage, asIObject, asPixels, asPlate, asPojo, asPojos, asPojos, asProject, asScreen, asWell, asWellSample, getCreated, getDetails, getId, getOwner, getPermissions, getUpdated, getVersion, isDirty, isLoaded, nullDetails, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, setId, setValue, setVersion, timeOfEvent, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public 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.heightThe
- height of the rectangle.Method Detail |
---|
public String getText()
public void setText(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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Version: Beta4.2.1-r8614-Beta4.2-b41
Copyright © 2009 The University of Dundee. All Rights Reserved.