Skip to content

Commit

Permalink
chore: add annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
neuqzxy committed Dec 20, 2024
1 parent 7482655 commit 9067bde
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/vrender-core/src/interface/global.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,14 @@ export interface IEnvContribution
loadState: 'success' | 'fail';
data: Blob | null;
}>;
// @since 0.21.3
/**
* 加载字体,参数对应Font类
* @param font 字体名
* @param source 数据源
* @param descriptors 其他描述
* @returns
*/
loadFont: (
font: string,
source: string | BinaryData,
Expand Down

0 comments on commit 9067bde

Please sign in to comment.