Lines Matching refs:colour
618 // TODO get colour from kml node (not currently supported in geoPHP)
628 * @param int $colour
629 * drawing colour
631 private function drawGeometry(Geometry $geom, int $colour): void
642 $this->drawGeometry($_geom, $colour);
646 $this->drawPolygon($geom, $colour);
649 $this->drawLineString($geom, $colour);
652 $this->drawPoint($geom, $colour);
668 * @param int $colour
669 * drawing colour
671 private function drawPolygon($polygon, int $colour)
695 // imagepolygon ($this->image, $extPoints, $i-1, $colour );
696 imagefilledpolygon($this->image, $extPoints, $i - 1, $colour);
703 * @param int $colour
704 * drawing colour
706 private function drawLineString($line, $colour)
727 imageline($this->image, $x1, $y1, $x2, $y2, $colour);
736 * @param int $colour
737 * drawing colour
739 private function drawPoint($point, $colour)
751 // imageellipse($this->image, $cx, $cy,$r, $r, $colour);
752 imagefilledellipse($this->image, $cx, $cy, $r, $r, $colour);
755 imagearc($this->image, $cx, $cy, $r, $r, 0, 359, $colour);