ome.util.math.geom2D

## Class EllipseArea

• All Implemented Interfaces:
Shape, Cloneable, PlaneArea, Copiable

```public class EllipseArea
extends Handle
implements PlaneArea```
Represents an ellipse in the Euclidean space R2.
Since:
OME2.2
Version:
2.2 (Internal version: \$Revision\$ \$Date: 2005/06/09 15:01:32 \$)
Author:
Jean-Marie Burel      j.burel@dundee.ac.uk,
Andrea Falconi      a.falconi@dundee.ac.uk
• ### Constructor Summary

Constructors
Constructor and Description
```EllipseArea(float x, float y, float width, float height)```
Creates a new instance.
• ### Method Summary

All Methods
Modifier and Type Method and Description
`boolean` ```contains(double x, double y)```
Required by the `Shape` I/F.
`boolean` ```contains(double x, double y, double w, double h)```
Required by the `Shape` I/F.
`boolean` `contains(Point2D p)`
Required by the `Shape` I/F.
`boolean` `contains(Rectangle2D r)`
Required by the `Shape` I/F.
`Rectangle` `getBounds()`
Required by the `Shape` I/F.
`Rectangle2D` `getBounds2D()`
Required by the `Shape` I/F.
`PathIterator` `getPathIterator(AffineTransform at)`
Required by the `Shape` I/F.
`PathIterator` ```getPathIterator(AffineTransform at, double flatness)```
Required by the `Shape` I/F.
`PlanePoint[]` `getPoints()`
Implemented as specified by the `PlaneArea` I/F.
`boolean` ```intersects(double x, double y, double w, double h)```
Required by the `Shape` I/F.
`boolean` `intersects(Rectangle2D r)`
Required by the `Shape` I/F.
`boolean` ```onBoundaries(double x, double y)```
Implemented as specified by the `PlaneArea` I/F.
`void` `scale(double factor)`
Implemented as specified by the `PlaneArea` I/F.
`void` ```setBounds(int x, int y, int width, int height)```
Implemented as specified in the `PlaneArea` I/F.
• ### Methods inherited from class ome.util.mem.Handle

`breakSharing, copy, getBody`
• ### Methods inherited from class java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`
• ### Methods inherited from interface ome.util.mem.Copiable

`copy`
• ### Constructor Detail

• #### EllipseArea

```public EllipseArea(float x,
float y,
float width,
float height)```
Creates a new instance.
Parameters:
`x` - The x-coordinate of the top-left corner.
`y` - The y-coordinate of the top-left corner.
`width` - The width of the ellipse.
`height` - The height of the ellipse.

OmeroJava API

Version: 5.3.3-ice35-b63