From 2d3bf3444912ebc1bfc010b2fd0289dc1bd12570 Mon Sep 17 00:00:00 2001 From: DCloud_iOS_XHY Date: Wed, 3 Apr 2024 20:16:20 +0800 Subject: [PATCH] Update drawablecontext.md --- docs/dom/drawablecontext.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/dom/drawablecontext.md b/docs/dom/drawablecontext.md index e8f94ec7..3aef3667 100644 --- a/docs/dom/drawablecontext.md +++ b/docs/dom/drawablecontext.md @@ -202,6 +202,7 @@ ## Bug & Tips@tips + 同时使用`border-radius`和`DrawableContext`,可能会出现`DrawableContext`绘制内容超出border区域的情况。 + 如果绘制过多内容或者绘制复杂图形时,建议设置`android-layer-type`为`hardware`,提高绘制效率。具体可参考[`android-layer-type`文档](../component/common.md#attribute-android) ++ iOS 平台绘制大量文字时性能较差,可使用text组件代替。 -- GitLab