public class DrawingFrame extends java.lang.Object implements JsonSerializable
Constructor and Description |
---|
DrawingFrame(double width,
double height) |
Modifier and Type | Method and Description |
---|---|
double |
distanceToBottom(Position position) |
double |
distanceToLeft(Position position) |
double |
distanceToRight(Position position) |
double |
distanceToTop(Position position) |
double |
height() |
boolean |
isStrictlyInside(Position position) |
Position |
randomPoint() |
double |
width() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fromJson, toJson
public double distanceToLeft(Position position)
public double distanceToRight(Position position)
public double distanceToTop(Position position)
public double distanceToBottom(Position position)
public boolean isStrictlyInside(Position position)
public double width()
public double height()
public Position randomPoint()