Background color
Function Prototype
background(int $color, int $pattern = self::PATTERN_SOLID): self
int $color
color const or RGB hex
int $pattern
pattern style
Example
$format = new \Vtiful\Kernel\Format($fileHandle);
$backgroundStyle = $format->background(
\Vtiful\Kernel\Format::COLOR_RED
)->toResource();
Last updated
Was this helpful?