public static class Rectangle.Impl extends Object implements Rectangle
Rectangle.Impl, Rectangle.Utils
Modifier and Type | Field and Description |
---|---|
protected Coord |
bottomLeft |
protected int |
height |
protected int |
width |
Constructor and Description |
---|
Impl(Coord bottomLeft,
int width,
int height) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Coord |
getBottomLeft() |
int |
getHeight() |
int |
getWidth() |
int |
hashCode() |
String |
toString() |
protected final Coord bottomLeft
protected final int width
protected final int height
public Coord getBottomLeft()
getBottomLeft
in interface Rectangle
public int getWidth()
public int getHeight()
Copyright © 2012–2016. All rights reserved.