public interface Ellipse extends Shape
Modifier and Type | Method and Description |
---|---|
EllipseData |
asDataObject()
Returns an
EllipseData corresponding to the handled object. |
default double[] |
getCoordinates()
Gets the coordinates of the MaskData shape.
|
double |
getRadiusX()
Returns the radius along the X-axis.
|
double |
getRadiusY()
Returns the radius along the Y-axis.
|
double |
getX()
Returns the x-coordinate of the center of the ellipse.
|
double |
getY()
Returns the y-coordinate of the center of the ellipse.
|
default void |
setCoordinates(double[] coordinates)
Sets the coordinates of the EllipseData shape.
|
default void |
setCoordinates(double x,
double y,
double radiusX,
double radiusY)
Sets the coordinates of the EllipseData shape.
|
void |
setRadiusX(double x)
Sets the radius along the X-axis.
|
void |
setRadiusY(double y)
Sets the radius along the Y-axis.
|
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.
|
default Shape |
toAWTShape()
Converts the shape to an
Shape . |
createTransformedAWTShape, getBoundingBox, getC, getCZT, getFill, getFontSize, getStroke, getT, getText, getZ, link, setC, setCZT, setFill, setFontSize, setStroke, setT, setText, setTransform, setTransform, setZ, toAWTTransform, toImageJ
addAndReplaceFile, 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, unlink
canAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, distinct, flatten, getCreated, getElementsOf, getGroupId, getId, getOwner, getUpdated, saveAndUpdate
EllipseData asDataObject()
EllipseData
corresponding to the handled object.asDataObject
in interface RemoteObject
asDataObject
in interface Shape
default Shape toAWTShape()
Shape
.toAWTShape
in interface Shape
double getX()
void setX(double x)
x
- See above.double getY()
void setY(double y)
y
- See above.double getRadiusX()
void setRadiusX(double x)
x
- the value to set.double getRadiusY()
void setRadiusY(double y)
y
- The value to set.default void setCoordinates(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.default double[] getCoordinates()
default void setCoordinates(double[] coordinates)
coordinates
- Array of coordinates containing {X,Y,RadiusX,RadiusY}.Copyright © 2020–2023 GReD. All rights reserved.