Java Geometry Algorithm botRect(Point2D.Double botLocation)

Here you can find the source of botRect(Point2D.Double botLocation)

Description

bot Rect

License

Open Source License

Declaration

public static Rectangle2D.Double botRect(Point2D.Double botLocation) 

Method Source Code

//package com.java2s;

import java.awt.geom.Point2D;
import java.awt.geom.Rectangle2D;

public class Main {
    public static Rectangle2D.Double botRect(Point2D.Double botLocation) {
        Rectangle2D.Double botRect = new Rectangle2D.Double(
                botLocation.x - 18, botLocation.y - 18, 36, 36);

        return botRect;
    }/*  ww  w .ja v a2s  .c  om*/
}

Related

  1. AreAlign(Point2D.Double pivot, Point2D.Double a, Point2D.Double b)
  2. areDifferentAnchorPoints(Point2D p1, Point2D p2)
  3. areLocationsClose(Point2D point1, Point2D point2)
  4. assertEDT(String point)
  5. botCorners(Point2D.Double p)
  6. botSides( Point2D.Double botLocation)
  7. bound(Point... points)
  8. boundingBox(Vector points)
  9. boundsOf(Collection points)