From 80e7b4fa39e177c6b5bc1bdc2c8bbec349afb249 Mon Sep 17 00:00:00 2001 From: wusongqing Date: Fri, 27 Aug 2021 17:37:34 +0800 Subject: [PATCH] Added English version of canvas readme Signed-off-by: wusongqing --- UI/JsCanvas/README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 UI/JsCanvas/README.md diff --git a/UI/JsCanvas/README.md b/UI/JsCanvas/README.md new file mode 100644 index 0000000000..18a8b2be5e --- /dev/null +++ b/UI/JsCanvas/README.md @@ -0,0 +1,23 @@ +# **** + +### Introduction + +This sample shows how to use the **** component to customize drawings. + +### Usage + +1. Touch the **arc** button to draw a circle on the canvas. + +2. Touch the **strokeText** button to draw text with stroke effects on the canvas. + +3. Touch the **close** button to draw a closed path on the canvas. + +4. Touch the **bezierCurve** button to draw a curve on the canvas. + +5. Touch the **textBaseline** button to draw a text baseline in the horizontal direction for text alignment on the canvas. + +6. Touch the **clear** button to clear all the drawings on the canvas. + +### Constraints + +This sample can only be run on standard-system devices. -- Gitee