Lines Matching defs:corner2
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());
22 $corner2 = $newCorner2;
25 if($corner2->getY() < $corner1->getY()) {
26 $newCorner1 = new Point($corner1->getX(), $corner2->getY());
27 $newCorner2 = new Point($corner2->getX(), $corner1->getY());
30 $corner2 = $newCorner2;
36 $X2 = $corner2->getX();
37 $Y2 = $corner2->getY();
110 public function drawRectangle(Point $corner1, Point $corner2, Color $color, $lineWidth, $lineDotSize, ShadowProperties $shadowProperties) {
113 $X2 = $corner2->getX() + .2;
114 $Y2 = $corner2->getY() + .2;