1 package de.lathanda.eos.geo;
3 import de.lathanda.eos.base.layout.BalancePoint;
5 import de.lathanda.eos.base.Picture;
6 import de.lathanda.eos.base.layout.BoundingBox;
7 import de.lathanda.eos.base.layout.Transform;
47 public void setCorners(
double left,
double top,
double right,
double bottom) {
48 Box b = this.
new Box();
78 Box b = this.
new Box();
83 Box b = this.
new Box();
88 Box b = this.
new Box();
93 Box b = this.
new Box();
100 private double right;
102 private double bottom;
110 public void setLeft(
double left) {
113 right = left +
width;
117 public void setRight(
double right) {
120 left = right -
width;
124 public void setTop(
double top) {
132 this.bottom = bottom;
138 public void writeBack() {
139 width = Math.abs(right - left);
140 height = Math.abs(top - bottom);
141 Rectangle.this.moveTo((right + left)/2,(top + bottom)/2);
abstract void drawRect(double x, double y, double width, double height)
void setLeft(double left)
BoundingBox calculateBoundingBox(Transform base, Transform own)
void setHeight(double height)
void setBottom(double bottom)
void setRight(double right)
void setWidth(double width)
void scaleInternal(double factor)
void setRightBottom(double right, double bottom)
void drawObject(Picture p)
void setCorners(double left, double top, double right, double bottom)
BalancePoint getBalancePoint()
void setLeftTop(double left, double top)