Uses of Class
org.evoludo.geom.Rectangle2D
Packages that use Rectangle2D
-
Uses of Rectangle2D in org.evoludo.geom
Methods in org.evoludo.geom that return Rectangle2DModifier and TypeMethodDescriptionRectangle2D.adjust
(double dx, double dy, double dw, double dh) Adjust the position of the origin, the lower left corner(x,y)
, as well as the dimensions, i.e.final Rectangle2D
Path2D.getBounds2D()
Returns a high precision and more accurate bounding box of thePath2D
than thegetBounds
method.Rectangle2D.set
(double x, double y, double width, double height) Set the coordinates of the lower left corner(x,y)
and the dimensions of the rectangle.Rectangle2D.setOrigin
(double x, double y) Set the coordinates of the origin, lower left corner(x,y)
, of the rectangle.Rectangle2D.setSize
(double width, double height) Set the dimensions, the width and height, of the rectangle.Rectangle2D.shift
(double dx, double dy) Shift/translate the rectangle.Methods in org.evoludo.geom with parameters of type Rectangle2DModifier and TypeMethodDescriptionboolean
Line2D.intersects
(Rectangle2D r) Check if the line intersects the rectangler
.Constructors in org.evoludo.geom with parameters of type Rectangle2D -
Uses of Rectangle2D in org.evoludo.graphics
Fields in org.evoludo.graphics declared as Rectangle2DModifier and TypeFieldDescriptionprotected Rectangle2D
AbstractGraph.bounds
The bounds of the displaying area.