Class EllipticalPolygon
java.lang.Object
com.xinapse.multisliceimage.roi.EllipticalPolygon
- All Implemented Interfaces:
Shape
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontains(double x, double y) booleancontains(double x, double y, double width, double height) booleanbooleangetPathIterator(AffineTransform at, double flatness) booleanintersects(double x, double y, double width, double height) A cheap and nasty version of intersects which relies on the fact that the rectangle won't entirely surround the ellipse, because the ellipse will never be that small.booleantoString()
-
Method Details
-
contains
-
contains
-
contains
-
contains
-
getBounds
-
getBounds2D
- Specified by:
getBounds2Din interfaceShape
-
getPathIterator
- Specified by:
getPathIteratorin interfaceShape
-
getPathIterator
- Specified by:
getPathIteratorin interfaceShape
-
intersects
public boolean intersects(double x, double y, double width, double height) A cheap and nasty version of intersects which relies on the fact that the rectangle won't entirely surround the ellipse, because the ellipse will never be that small.- Specified by:
intersectsin interfaceShape
-
intersects
- Specified by:
intersectsin interfaceShape
-
toString
-