!12244 add clearCaches

Merge pull request !12244 from renhw001/master
This commit is contained in:
openharmony_ci 2024-07-05 12:02:49 +00:00 committed by Gitee
commit 75ebe0f66f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -823,6 +823,13 @@ declare namespace text {
* @since 12
*/
loadFontSync(name: string, path: string | Resource): void;
/**
* Clear font caches.
* @syscap SystemCapability.Graphics.Drawing
* @since 12
*/
clearCaches(): void;
}
/**