/** * Set the font Color * * @param string $color Color '#123456' * * @return self */ public function setFontColor($color) { $this->set('font.color', Color::toLazarus($color)); return $this; }
/** * {@inheritdoc} */ public function setBackgroundColor($color) { $this->set('color', Color::toLazarus($color)); return $this; }
/** * Sets the pixel color * * @param int $x * @param int $x * @param string $color * * @return self */ public function setPixel($x, $y, $color) { $this->call('picture.bitmap.canvas.setPixel', [$x, $y, Color::toLazarus($color)], $isCommand = false); return $this; }
/** * Set the border Color * * @param string $color Color '#123456' * * @return self */ public function setBorderColor($color) { $this->set('pen.color', Color::toLazarus($color)); return $this; }