Lines Matching defs:color

14     function drawFilledRectangle(Point $corner1, Point $corner2, Color $color,
47 $shadowProperties->color,
61 $shadowProperties->color,
72 $shadowProperties->color,
80 $C_Rectangle = $this->allocateColor($color);
91 $C_Rectangle = imagecolorallocate($this->Layers [0], $color->r, $color->g, $color->b);
102 $color,
110 public function drawRectangle(Point $corner1, Point $corner2, Color $color, $lineWidth, $lineDotSize, ShadowProperties $shadowProperties) {
118 $color,
127 $color,
136 $color,
145 $color,
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);
181 $color,
190 $color,
199 $color,
208 $color,
220 Color $color, $lineWidth, $lineDotSize,
222 $C_Rectangle = $this->allocateColor($color);
288 $color,
293 $color,
298 $color,
303 $color,
329 $color,
337 $color,
345 $color,
353 $color,
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) {
451 $shadowProperties->color,
462 $shadowProperties->color,
470 $shadowProperties->color,
482 $C_Aliased = $this->allocateColor($color);
489 $this->drawAlphaPixel($point, $alpha, $color);
493 $this->drawAlphaPixel(new Point($Xi, $Yi), $Alpha1, $color);
498 $this->drawAlphaPixel(new Point($Xi + 1, $Yi), $Alpha2, $color);
504 $this->drawAlphaPixel(new Point($Xi, $Yi + 1), $Alpha3, $color);
510 $this->drawAlphaPixel(new Point($Xi + 1, $Yi + 1), $Alpha4, $color);
515 public function drawAlphaPixel(Point $point, $alpha, Color $color) {
527 $Ra = floor($color->r * $alpha + $R2 * $iAlpha);
528 $Ga = floor($color->g * $alpha + $G2 * $iAlpha);
529 $Ba = floor($color->b * $alpha + $B2 * $iAlpha);
541 public function allocateColor(Color $color, $Factor = 0, $alpha = 100) {
543 $color = $color->addRGBIncrement($Factor);
547 return (imagecolorallocate($this->picture, $color->r, $color->g, $color->b));
551 $color->r,
552 $color->g,
553 $color->b,
582 function drawText($fontSize, $angle, Point $point, Color $color, $fontName, $text, ShadowProperties $shadowProperties) {
584 $gdShadowColor = $this->allocateColor($shadowProperties->color);
595 $gdColor = $this->allocateColor($color);
604 function drawCircle(Point $center, $height, Color $color, ShadowProperties $shadowProperties, $width = null) {
616 $color,
623 public function drawFilledCircle(Point $center, $height, Color $color, ShadowProperties $shadowProperties, $width = null) {
628 $C_Circle = $this->allocateColor($color);
639 $color,
644 $color,
654 function drawFilledPolygon(array $points, $numPoints, Color $color, $alpha = 100) {
655 $gdColor = $this->allocateColor($color, 0, $alpha);