Lines Matching refs:corner1
14 function drawFilledRectangle(Point $corner1, Point $corner2, Color $color,
17 if($corner2->getX() < $corner1->getX()) {
18 $newCorner1 = new Point($corner2->getX(), $corner1->getY());
19 $newCorner2 = new Point($corner1->getX(), $corner2->getY());
21 $corner1 = $newCorner1;
25 if($corner2->getY() < $corner1->getY()) {
26 $newCorner1 = new Point($corner1->getX(), $corner2->getY());
27 $newCorner2 = new Point($corner2->getX(), $corner1->getY());
29 $corner1 = $newCorner1;
33 $X1 = $corner1->getX();
34 $Y1 = $corner1->getY();
110 public function drawRectangle(Point $corner1, Point $corner2, Color $color, $lineWidth, $lineDotSize, ShadowProperties $shadowProperties) {
111 $X1 = $corner1->getX() - .2;
112 $Y1 = $corner1->getY() - .2;