public class LineData extends ShapeData
READONLY_FLAG, settings
Constructor and Description |
---|
LineData()
Create a new instance of LineData, creating a new LineI Object.
|
LineData(double x1,
double y1,
double x2,
double y2)
Create a new instance of the LineData,
|
LineData(omero.model.Shape shape)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
String |
getText()
Returns the text of the shape.
|
double |
getX1()
Returns the x-coordinate of the starting point of an untransformed line.
|
double |
getX2()
Returns the x-coordinate of the end point of an untransformed line.
|
double |
getY1()
Returns the y-coordinate of the starting point of an untransformed line.
|
double |
getY2()
Returns the y-coordinate of the end point of an untransformed line.
|
void |
setText(String text)
Sets the text of the shape.
|
void |
setX1(double x1)
Set the x-coordinate of the starting point of an untransformed line.
|
void |
setX2(double x2)
Set the x-coordinate of the end point of an untransformed line.
|
void |
setY1(double y1)
Set the y-coordinate of the starting point of an untransformed line.
|
void |
setY2(double y2)
Set the y-coordinate of the end point of an untransformed line.
|
fromPoints, getC, getROICoordinate, getShapeSettings, getT, getTransform, getZ, isClientObject, isReadOnly, parsePointsToIntegerList, parsePointsToPoint2DList, setC, setClientObject, setDirty, setReadOnly, setROICoordinate, setShapeSettings, setT, setTransform, setZ, toNumber, toPoints
asAnnotation, asChannel, asDataset, asExperimenter, asFolder, asGroup, asIAnnotated, asImage, asIObject, asPixels, asPlate, asPojo, asPojos, asPojos, asProject, asScreen, asWell, asWellSample, canAnnotate, 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, toString
public LineData(omero.model.Shape shape)
shape
- The shape to host.public LineData()
public LineData(double x1, double y1, double x2, double y2)
x1
- x1-coordinate of the shape.y1
- y1-coordinate of the shape.x2
- x2-coordinate of the shape.y2
- y2-coordinate of the shape.public String getText()
public void setText(String text)
text
- See above.public double getX1()
public void setX1(double x1)
x1
- See above.public double getX2()
public void setX2(double x2)
x2
- See above.public double getY1()
public void setY1(double y1)
y1
- See above.public double getY2()
public void setY2(double y2)
y2
- See above.
Version: 5.3.3-ice35-b63
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.