Uses of Class
org.eclipse.gef.geometry.planar.Rectangle
Package
Description
This package contains helper classes to transfer data from JavaFX/Geometry to
one another.
This package provides support for converting geometric objects to SWT and for
conversion between SWT and AWT.
This package provides support for geometric calculations based on shapes.
-
Uses of Rectangle in org.eclipse.gef.geometry.convert.fx
-
Uses of Rectangle in org.eclipse.gef.geometry.convert.swt
Modifier and TypeMethodDescriptionstatic Rectangle
SWT2Geometry.toRectangle
(Rectangle swtRectangle) Converts the givenSWT Rectangle
to a GEFRectangle
.Modifier and TypeMethodDescriptionstatic final Rectangle
Geometry2SWT.toSWTRectangle
(Rectangle r) -
Uses of Rectangle in org.eclipse.gef.geometry.planar
Modifier and TypeMethodDescriptionArc.getBounds()
BezierCurve.getBounds()
CurvedPolygon.getBounds()
IGeometry.getBounds()
Line.getBounds()
Path.getBounds()
Pie.getBounds()
static Rectangle
PolyBezier.getBounds()
Region.getBounds()
Ring.getBounds()
BezierCurve.getControlBounds()
Rectangle.getCopy()
Returns a new Rectangle which has the exact same parameters as this Rectangle.Rectangle.getIntersected
(Rectangle rect) Returns a new Rectangle which has the intersection of this Rectangle and the rectangle provided as input.Region.getShapes()
Rectangle.getTransposed()
Returns a new rectangle whose width and height have been interchanged, as well as its x and y values.Rectangle.getUnioned
(Point p) Returns a new Rectangle which contains both this Rectangle and the Point supplied as input.Rectangle.getUnioned
(Rectangle rect) Returns a new Rectangle which contains both this Rectangle and the Rectangle supplied as input.Rectangle.transpose()
Switches the x and y values, as well as the width and height of this Rectangle.Rectangle.union
(double x, double y) Rectangle.union
(double x, double y, double w, double h) Modifier and TypeMethodDescriptionboolean
boolean
boolean
Rectangle.getIntersected
(Rectangle rect) Returns a new Rectangle which has the intersection of this Rectangle and the rectangle provided as input.Rectangle.getUnioned
(Rectangle rect) Returns a new Rectangle which contains both this Rectangle and the Rectangle supplied as input.boolean
boolean
ModifierConstructorDescriptionRoundedRectangle
(Rectangle r, double arcWidth, double arcHeight) Constructs a newRoundedRectangle
from the bounds of the givenRectangle
and the given arc values.