Skip to main content

KPublicFontLibrary

kds-plugin-document / Exports / KPublicFontLibrary

Interface: KPublicFontLibrary

Table of contents

Methods

Methods

getFontList

getFontList(): HostPromise<KFont[]>

获取酷大师官方字体列表,列表中每个字体包含唯一的key、名称、具体样式列表(样式名称和字体文件链接)、预览图

Get font list

Returns

HostPromise<KFont[]>

key is the unique key of font, detailStyles are list of specific font style and font file link.

Defined in

api.d.ts:4052