字体
函数原型
font(string $fontName): self
string $fontName
字体名称,字体必须存在于本机
示例
$format = new \Vtiful\Kernel\Format($fileHandle);
$fontStyle = $format->font('FontName')->toResource();
Last updated
Was this helpful?
font(string $fontName): self
字体名称,字体必须存在于本机
$format = new \Vtiful\Kernel\Format($fileHandle);
$fontStyle = $format->font('FontName')->toResource();
Last updated
Was this helpful?