Lines Matching refs:corner2
16 function drawFilledRectangle(Point $corner1, Point $corner2, Color $color, argument
19 if ($corner2->getX() < $corner1->getX()) {
20 $newCorner1 = new Point($corner2->getX(), $corner1->getY());
21 $newCorner2 = new Point($corner1->getX(), $corner2->getY());
24 $corner2 = $newCorner2;
27 if ($corner2->getY() < $corner1->getY()) {
28 $newCorner1 = new Point($corner1->getX(), $corner2->getY());
29 $newCorner2 = new Point($corner2->getX(), $corner1->getY());
32 $corner2 = $newCorner2;
38 $X2 = $corner2->getX();
39 $Y2 = $corner2->getY();
104 …public function drawRectangle(Point $corner1, Point $corner2, Color $color, $lineWidth, $lineDotSi… argument
107 $X2 = $corner2->getX() + .2;
108 $Y2 = $corner2->getY() + .2;