Lines Matching refs:point2
1048 * @param $point2 Maximum corner of the box
1054 public function drawTextBox(Point $point1, Point $point2, $Text, $Angle = 0, Color $color = null, $Align = ALIGN_LEFT, ShadowProperties $shadowProperties = null, Color $backgroundColor = null, $Alpha = 100) {
1066 $AreaWidth = $point2->getX() - $point1->getX();
1067 $AreaHeight = $point2->getY() - $point1->getY();
1071 $point2,
1083 $newPosition = new Point($point2->getX() - $TextWidth - 1,
1095 $newPosition = new Point($point2->getX() - $TextWidth - 1,
1100 $point2->getY() - 1);
1104 $point2->getY() - 1);
1107 $newPosition = $point2->addIncrement(- $TextWidth - 1,
2614 private function drawGradient(Point $point1, Point $point2, Color $color, $decay) {
2617 $YStep = ($point2->getY() - $point1->getY() - 2) / $decay;
2623 $Yi2 = $point2->getY() - 1;
2627 new Point($point2->getX(), $Yi2),
2635 $YStep = ($point2->getY() - $point1->getY() - 2) / - $decay;
2642 new Point($point2->getX(), $Yi2),
2649 $Yi2 = $point2->getY() - 1;