Uses of Class
org.eclipse.gef.geometry.planar.Rectangle
Packages that use 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
Methods in org.eclipse.gef.geometry.convert.fx that return RectangleModifier and TypeMethodDescriptionstatic final Rectangle
FX2Geometry.toRectangle
(javafx.geometry.Bounds b) Converts the given JavaFXBounds
to aRectangle
.Methods in org.eclipse.gef.geometry.convert.fx with parameters of type RectangleModifier and TypeMethodDescriptionstatic final javafx.geometry.Bounds
Geometry2FX.toFXBounds
(Rectangle r) Converts the givenRectangle
to a JavaFXBounds
. -
Uses of Rectangle in org.eclipse.gef.geometry.convert.swt
Methods in org.eclipse.gef.geometry.convert.swt that return RectangleModifier and TypeMethodDescriptionstatic Rectangle
SWT2Geometry.toRectangle
(Rectangle swtRectangle) Converts the givenSWT Rectangle
to a GEFRectangle
.Methods in org.eclipse.gef.geometry.convert.swt with parameters of type RectangleModifier and TypeMethodDescriptionstatic final Rectangle
Geometry2SWT.toSWTRectangle
(Rectangle r) -
Uses of Rectangle in org.eclipse.gef.geometry.planar
Methods in org.eclipse.gef.geometry.planar that return RectangleModifier 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) Methods in org.eclipse.gef.geometry.planar with parameters of type RectangleModifier 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
Constructors in org.eclipse.gef.geometry.planar with parameters of type RectangleModifierConstructorDescriptionRoundedRectangle
(Rectangle r, double arcWidth, double arcHeight) Constructs a newRoundedRectangle
from the bounds of the givenRectangle
and the given arc values.