背景颜色
函数原型
background(int $color, int $pattern = self::PATTERN_SOLID): selfint $color
int $pattern
Example
$format = new \Vtiful\Kernel\Format($fileHandle);
$backgroundStyle = $format->background(
\Vtiful\Kernel\Format::COLOR_RED
)->toResource();Last updated