字体
函数原型
font(string $fontName): selfstring $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?