Lines Matching refs:corner1
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());
23 $corner1 = $newCorner1;
27 if ($corner2->getY() < $corner1->getY()) {
28 $newCorner1 = new Point($corner1->getX(), $corner2->getY());
29 $newCorner2 = new Point($corner2->getX(), $corner1->getY());
31 $corner1 = $newCorner1;
35 $X1 = $corner1->getX();
36 $Y1 = $corner1->getY();
104 …public function drawRectangle(Point $corner1, Point $corner2, Color $color, $lineWidth, $lineDotSi… argument
105 $X1 = $corner1->getX() - .2;
106 $Y1 = $corner1->getY() - .2;