Advertisement
SirBaconBitz

constructorRectangle

Dec 19th, 2017
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.15 KB | None | 0 0
  1. public Rectangle(Point p, int width, int height) {
  2.     this.x = p.getX();
  3.     this.y = p.getY();
  4.     this.width = width;
  5.     this.height = height;
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement