Uses of Class
org.eclipse.gef.geometry.planar.Rectangle
-
Packages that use Rectangle Package Description org.eclipse.gef.geometry.convert.fx This package contains helper classes to transfer data from JavaFX/Geometry to one another.org.eclipse.gef.geometry.convert.swt This package provides support for converting geometric objects to SWT and for conversion between SWT and AWT.org.eclipse.gef.geometry.planar 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 Rectangle Modifier and Type Method Description static 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 Rectangle Modifier and Type Method Description static 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 Rectangle Modifier and Type Method Description static Rectangle
SWT2Geometry. toRectangle(Rectangle swtRectangle)
Converts the givenSWT Rectangle
to a GEFRectangle
.Methods in org.eclipse.gef.geometry.convert.swt with parameters of type Rectangle Modifier and Type Method Description static Rectangle
Geometry2SWT. toSWTRectangle(Rectangle r)
-
Uses of Rectangle in org.eclipse.gef.geometry.planar
Methods in org.eclipse.gef.geometry.planar that return Rectangle Modifier and Type Method Description Rectangle
Arc. getBounds()
Rectangle
BezierCurve. getBounds()
Rectangle
CurvedPolygon. getBounds()
Rectangle
IGeometry. getBounds()
Rectangle
Line. getBounds()
Rectangle
Path. getBounds()
Rectangle
Pie. getBounds()
static Rectangle
Point. getBounds(Point... points)
Rectangle
PolyBezier. getBounds()
Rectangle
Region. getBounds()
Rectangle
Ring. getBounds()
Rectangle
BezierCurve. getControlBounds()
Rectangle
Rectangle. getCopy()
Returns a new Rectangle which has the exact same parameters as this Rectangle.Rectangle
Rectangle. getIntersected(Rectangle rect)
Returns a new Rectangle which has the intersection of this Rectangle and the rectangle provided as input.Rectangle[]
Region. getShapes()
Rectangle
Rectangle. getTransposed()
Returns a new rectangle whose width and height have been interchanged, as well as its x and y values.Rectangle
Rectangle. getUnioned(Point p)
Returns a new Rectangle which contains both this Rectangle and the Point supplied as input.Rectangle
Rectangle. getUnioned(Rectangle rect)
Returns a new Rectangle which contains both this Rectangle and the Rectangle supplied as input.Rectangle
Rectangle. intersect(Rectangle r)
Rectangle
Rectangle. transpose()
Switches the x and y values, as well as the width and height of this Rectangle.Rectangle
Rectangle. union(double x, double y)
Rectangle
Rectangle. union(double x, double y, double w, double h)
Rectangle
Rectangle. union(Point p)
Rectangle
Rectangle. union(Rectangle r)
Methods in org.eclipse.gef.geometry.planar with parameters of type Rectangle Modifier and Type Method Description Region
Region. add(Rectangle rectangle)
boolean
Path. contains(Rectangle r)
boolean
Polygon. contains(Rectangle r)
boolean
Rectangle. contains(Rectangle r)
Rectangle
Rectangle. getIntersected(Rectangle rect)
Returns a new Rectangle which has the intersection of this Rectangle and the rectangle provided as input.Rectangle
Rectangle. getUnioned(Rectangle rect)
Returns a new Rectangle which contains both this Rectangle and the Rectangle supplied as input.Rectangle
Rectangle. intersect(Rectangle r)
boolean
Path. touches(Rectangle r)
boolean
Rectangle. touches(Rectangle r)
Rectangle
Rectangle. union(Rectangle r)
Constructors in org.eclipse.gef.geometry.planar with parameters of type Rectangle Constructor Description Ellipse(Rectangle r)
Rectangle(Rectangle r)
Region(Rectangle... rectangles)
RoundedRectangle(Rectangle r, double arcWidth, double arcHeight)
Constructs a newRoundedRectangle
from the bounds of the givenRectangle
and the given arc values.
-