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 RectangleFX2Geometry.toRectangle(javafx.geometry.Bounds b) Converts the given JavaFXBoundsto aRectangle.Methods in org.eclipse.gef.geometry.convert.fx with parameters of type RectangleModifier and TypeMethodDescriptionstatic final javafx.geometry.BoundsGeometry2FX.toFXBounds(Rectangle r) Converts the givenRectangleto 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 RectangleSWT2Geometry.toRectangle(Rectangle swtRectangle) Converts the givenSWT Rectangleto a GEFRectangle.Methods in org.eclipse.gef.geometry.convert.swt with parameters of type RectangleModifier and TypeMethodDescriptionstatic final RectangleGeometry2SWT.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 RectanglePolyBezier.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 TypeMethodDescriptionbooleanbooleanbooleanRectangle.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.booleanbooleanConstructors in org.eclipse.gef.geometry.planar with parameters of type RectangleModifierConstructorDescriptionRoundedRectangle(Rectangle r, double arcWidth, double arcHeight) Constructs a newRoundedRectanglefrom the bounds of the givenRectangleand the given arc values.