public class EllipseWrapper extends ShapeWrapper<EllipseData> implements Ellipse
Wraps function calls to the EllipseData contained.
ANNOTATION_LINKdata| Constructor and Description |
|---|
EllipseWrapper()
Constructor of the EllipseWrapper class using a new empty EllipseData.
|
EllipseWrapper(double x,
double y,
double radiusX,
double radiusY)
Constructor of the EllipseWrapper class using a new EllipseData.
|
EllipseWrapper(EllipseData ellipse)
Constructor of the EllipseWrapper class using a EllipseData.
|
EllipseWrapper(Roi ijRoi)
Constructor of the EllipseWrapper class using bounds from an ImageJ ROI.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getRadiusX()
Returns the radius along the X-axis.
|
double |
getRadiusY()
Returns the radius along the Y-axis.
|
String |
getText()
Gets the text on the ShapeData.
|
double |
getX()
Returns the x-coordinate of the center of the ellipse.
|
double |
getY()
Returns the y-coordinate of the center of the ellipse.
|
void |
setRadiusX(double x)
Sets the radius along the X-axis.
|
void |
setRadiusY(double y)
Sets the radius along the Y-axis.
|
void |
setText(String text)
Sets the text on the ShapeData.
|
void |
setX(double x)
Sets the x-coordinate of the center of the ellipse.
|
void |
setY(double y)
Sets the y-coordinate of the center of the ellipse.
|
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, getCoordinates, setCoordinates, setCoordinates, 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, saveAndUpdatepublic EllipseWrapper(EllipseData ellipse)
ellipse - The EllipseData to wrap.public EllipseWrapper()
public EllipseWrapper(Roi ijRoi)
ijRoi - An ImageJ ROI.public EllipseWrapper(double x,
double y,
double radiusX,
double radiusY)
x - The x-coordinate of the center of the ellipse.y - The y-coordinate of the center of the ellipse.radiusX - The radius along the X-axis.radiusY - The radius along the Y-axis.public String getText()
public void setText(String text)
public double getX()
public void setX(double x)
public double getY()
public void setY(double y)
public double getRadiusX()
getRadiusX in interface Ellipsepublic void setRadiusX(double x)
setRadiusX in interface Ellipsex - the value to set.public double getRadiusY()
getRadiusY in interface Ellipsepublic void setRadiusY(double y)
setRadiusY in interface Ellipsey - The value to set.public Roi toImageJ()
toImageJ in interface ShapetoImageJ in class ShapeWrapper<EllipseData>Copyright © 2020–2023 GReD. All rights reserved.