For the complete documentation index, see llms.txt. This page is also available as Markdown.

字体

函数原型

font(string $fontName): self

string $fontName

字体名称,字体必须存在于本机

示例

$format    = new \Vtiful\Kernel\Format($fileHandle);
$fontStyle = $format->font('FontName')->toResource();

Last updated