Lines Matching refs:shadowProperties

15                                  ShadowProperties $shadowProperties, $drawBorder = false,
41 if($shadowProperties->active) {
43 new Point($X1 + $shadowProperties->xDistance,
44 $Y1 + $shadowProperties->yDistance),
45 new Point($X2 + $shadowProperties->xDistance,
46 $Y2 + $shadowProperties->yDistance),
47 $shadowProperties->color,
50 $shadowProperties->alpha
52 if($shadowProperties->blur != 0) {
53 $AlphaDecay = ($shadowProperties->alpha / $shadowProperties->blur);
55 for($i = 1; $i <= $shadowProperties->blur; $i++)
57 new Point($X1 + $shadowProperties->xDistance - $i / 2,
58 $Y1 + $shadowProperties->yDistance - $i / 2),
59 new Point($X2 + $shadowProperties->xDistance - $i / 2,
60 $Y2 + $shadowProperties->yDistance - $i / 2),
61 $shadowProperties->color,
64 $shadowProperties->alpha - $AlphaDecay * $i
66 for($i = 1; $i <= $shadowProperties->blur; $i++)
68 new Point($X1 + $shadowProperties->xDistance + $i / 2,
69 $Y1 + $shadowProperties->yDistance + $i / 2),
70 new Point($X2 + $shadowProperties->xDistance + $i / 2,
71 $Y2 + $shadowProperties->xDistance + $i / 2),
72 $shadowProperties->color,
75 $shadowProperties->alpha - $AlphaDecay * $i
110 public function drawRectangle(Point $corner1, Point $corner2, Color $color, $lineWidth, $lineDotSize, ShadowProperties $shadowProperties) {
121 $shadowProperties
130 $shadowProperties
139 $shadowProperties
148 $shadowProperties
153 public function drawRoundedRectangle(Point $point1, Point $point2, $radius, Color $color, $lineWidth, $lineDotSize, ShadowProperties $shadowProperties) {
159 $this->drawAntialiasPixel(new Point($X, $Y), $color, $shadowProperties);
163 $this->drawAntialiasPixel(new Point($X, $Y), $color, $shadowProperties);
167 $this->drawAntialiasPixel(new Point($X, $Y), $color, $shadowProperties);
171 $this->drawAntialiasPixel(new Point($X, $Y), $color, $shadowProperties);
184 $shadowProperties
193 $shadowProperties
202 $shadowProperties
211 $shadowProperties
221 ShadowProperties $shadowProperties) {
289 $shadowProperties
294 $shadowProperties
299 $shadowProperties
304 $shadowProperties
331 $shadowProperties
339 $shadowProperties
347 $shadowProperties
355 $shadowProperties
360 public function drawLine(Point $point1, Point $point2, Color $color, $lineWidth, $lineDotSize, ShadowProperties $shadowProperties, Point $boundingBoxMin = null, Point $boundingBoxMax = null) {
366 $color, $shadowProperties,
389 $this->drawAntialiasPixel(new Point($X, $Y), $color, $shadowProperties);
396 $color, $shadowProperties
403 public function drawDottedLine(Point $point1, Point $point2, $dotSize, $lineWidth, Color $color, ShadowProperties $shadowProperties, Point $boundingBoxMin = null, Point $boundingBoxMax = null) {
423 $color, $shadowProperties
432 $color, $shadowProperties
445 public function drawAntialiasPixel(Point $point, Color $color, ShadowProperties $shadowProperties, $alpha = 100) {
447 if($shadowProperties->active) {
449 new Point($point->getX() + $shadowProperties->xDistance,
450 $point->getY() + $shadowProperties->yDistance),
451 $shadowProperties->color,
453 $shadowProperties->alpha
455 if($shadowProperties->blur != 0) {
456 $AlphaDecay = ($shadowProperties->alpha / $shadowProperties->blur);
458 for($i = 1; $i <= $shadowProperties->blur; $i++)
460 new Point($point->getX() + $shadowProperties->xDistance - $i / 2,
461 $point->getY() + $shadowProperties->yDistance - $i / 2),
462 $shadowProperties->color,
464 $shadowProperties->alpha - $AlphaDecay * $i
466 for($i = 1; $i <= $shadowProperties->blur; $i++)
468 new Point($point->getX() + $shadowProperties->xDistance + $i / 2,
469 $point->getY() + $shadowProperties->yDistance + $i / 2),
470 $shadowProperties->color,
472 $shadowProperties->alpha - $AlphaDecay * $i
582 function drawText($fontSize, $angle, Point $point, Color $color, $fontName, $text, ShadowProperties $shadowProperties) {
583 if($shadowProperties->active) {
584 $gdShadowColor = $this->allocateColor($shadowProperties->color);
588 $point->getX() + $shadowProperties->xDistance,
589 $point->getY() + $shadowProperties->yDistance,
604 function drawCircle(Point $center, $height, Color $color, ShadowProperties $shadowProperties, $width = null) {
617 $shadowProperties
623 public function drawFilledCircle(Point $center, $height, Color $color, ShadowProperties $shadowProperties, $width = null) {
640 $shadowProperties
645 $shadowProperties