Lines Matching refs:point1
1054 …public function drawTextBox(Point $point1, Point $point2, $Text, $Angle = 0, Color $color = null, … argument
1066 $AreaWidth = $point2->getX() - $point1->getX();
1067 $AreaHeight = $point2->getY() - $point1->getY();
1070 $this->canvas->drawFilledRectangle($point1,
1076 $newPosition = $point1->addIncrement(1, $this->FontSize + 1);
1079 $newPosition = $point1->addIncrement(($AreaWidth / 2) - ($TextWidth / 2),
1084 $point1->getY() + $this->FontSize + 1);
1087 $newPosition = $point1->addIncrement(1,
1091 $newPosition = $point1->addIncrement(($AreaWidth / 2) - ($TextWidth / 2),
1096 $point1->getY() + ($AreaHeight / 2) - ($TextHeight / 2));
1099 $newPosition = new Point($point1->getX() + 1,
1103 $newPosition = new Point($point1->getX() + ($AreaWidth / 2) - ($TextWidth / 2),
2614 private function drawGradient(Point $point1, Point $point2, Color $color, $decay) { argument
2617 $YStep = ($point2->getY() - $point1->getY() - 2) / $decay;
2620 $Yi1 = $point1->getY() + ($i * $YStep);
2626 $this->canvas->drawFilledRectangle(new Point($point1->getX(), $Yi1),
2635 $YStep = ($point2->getY() - $point1->getY() - 2) / - $decay;
2636 $Yi1 = $point1->getY();
2637 $Yi2 = $point1->getY() + $YStep;
2641 $this->canvas->drawFilledRectangle(new Point($point1->getX(), $Yi1),