public class PointWrapper extends ShapeWrapper<PointData> implements Point
Wraps function calls to the PointData contained.
ANNOTATION_LINKdata| Constructor and Description |
|---|
PointWrapper()
Constructor of the PointWrapper class using a new empty PointData.
|
PointWrapper(double x,
double y)
Constructor of the PointWrapper class using a new empty ShapeData.
|
PointWrapper(PointData point)
Constructor of the PointWrapper class using a PointData.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getText()
Gets the text on the ShapeData.
|
double |
getX()
Returns the x-coordinate of the punctual shape.
|
double |
getY()
Returns the y coordinate of the punctual shape.
|
void |
setText(String text)
Sets the text on the ShapeData.
|
void |
setX(double x)
Sets the x-coordinate of the punctual shape.
|
void |
setY(double y)
Sets the y-coordinate of the punctual shape.
|
Roi |
toImageJ()
Converts shape to ImageJ ROI.
|
annotationLinkType, copyFromIJRoi, copyToIJRoi, getBoundingBox, getC, getFill, getFontSize, getStroke, getT, getZ, setC, setFill, setFontSize, setStroke, setT, setTransform, setZ, toAWTTransformaddAndReplaceFile, addAndReplaceTable, addKeyValuePair, addTag, addTag, getAnnotations, getFileAnnotations, getMapAnnotations, getMyRating, getTable, getTags, rate, removeLink, unlinkasDataObject, canAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, getCreated, getGroupId, getId, getOwner, getUpdated, saveAndUpdate, toString, wrap, wrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitasDataObject, toAWTShapecreateTransformedAWTShape, getBoundingBox, getC, getCZT, getFill, getFontSize, getStroke, getT, getZ, link, setC, setCZT, setFill, setFontSize, setStroke, setT, setTransform, setTransform, setZ, toAWTTransformaddAndReplaceFile, addAndReplaceFile, addAndReplaceTable, addAndReplaceTable, addFile, addKeyValuePair, addTable, addTag, addTag, addTags, copyAnnotationLinks, getAnnotationData, getAnnotations, getFileAnnotations, getKeyValuePairs, getMapAnnotations, getMyRating, getTable, getTables, getTags, getValues, isLinked, link, link, linkIfNotLinked, rate, unlinkcanAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, distinct, flatten, getCreated, getElementsOf, getGroupId, getId, getOwner, getUpdated, saveAndUpdategetCoordinates, setCoordinates, setCoordinatespublic PointWrapper(PointData point)
point - The PointData to wrap.public PointWrapper()
public PointWrapper(double x,
double y)
x - x-coordinate of the shape.y - y-coordinate of the shape.public String getText()
public void setText(String text)
public double getX()
public void setX(double x)
public double getY()
public void setY(double y)
Copyright © 2020–2023 GReD. All rights reserved.