public class TextData extends ShapeData
READONLY_FLAG, settings
Constructor and Description |
---|
TextData()
Creates a new instance of TextData, creating a new TextI Object.
|
TextData(omero.model.Shape shape)
Creates a new instance of Text data from an existing shape.
|
TextData(String text,
double x,
double y)
Creates a new instance of the TextData, sets the centre and major, minor
axes.
|
Modifier and Type | Method and Description |
---|---|
String |
getText()
Returns the text of the shape.
|
double |
getX()
Returns the x-coordinate text field.
|
double |
getY()
Returns the y-coordinate text field.
|
void |
setText(String text)
Sets the text of the shape.
|
void |
setX(double x)
Sets the x-coordinate of the text field.
|
void |
setY(double y)
Sets the y-coordinate of the text field.
|
fromPoints, getC, getROICoordinate, getShapeSettings, getT, getTransform, getZ, isClientObject, isReadOnly, isVisible, parsePointsToIntegerList, parsePointsToPoint2DList, setC, setClientObject, setDirty, setReadOnly, setROICoordinate, setShapeSettings, setT, setTransform, setVisible, setZ, toNumber, toPoints
asAnnotation, asChannel, asDataset, asExperimenter, 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 TextData(omero.model.Shape shape)
shape
- The shape this object represents.public TextData()
public TextData(String text, double x, double y)
text
- Object text.x
- X-Coordinate of the text.y
- Y-Coordinate of the text.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.
Version: 5.1.4-ice35-b55
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.