Lines Matching refs:point2
1121 * @param $point2 Maximum corner of the box
1127 public function drawTextBox(Point $point1, Point $point2, $Text, $Angle = 0, Color $color = null, $Align = ALIGN_LEFT, ShadowProperties $shadowProperties = null, Color $backgroundColor = null, $Alpha = 100) {
1139 $AreaWidth = $point2->getX() - $point1->getX();
1140 $AreaHeight = $point2->getY() - $point1->getY();
1145 $point2,
1160 $newPosition = new Point($point2->getX() - $TextWidth - 1,
1176 $newPosition = new Point($point2->getX() - $TextWidth - 1,
1181 $point2->getY() - 1);
1185 $point2->getY() - 1);
1188 $newPosition = $point2->addIncrement(
2812 private function drawGradient(Point $point1, Point $point2, Color $color, $decay) {
2815 $YStep = ($point2->getY() - $point1->getY() - 2) / $decay;
2821 $Yi2 = $point2->getY() - 1;
2826 new Point($point2->getX(), $Yi2),
2835 $YStep = ($point2->getY() - $point1->getY() - 2) / -$decay;
2843 new Point($point2->getX(), $Yi2),
2851 $Yi2 = $point2->getY() - 1;