From 7867f91868c57d4cd38507b922cc035184a674eb Mon Sep 17 00:00:00 2001 From: gloria <80926032@qq.com> Date: Tue, 7 Jun 2022 09:06:41 +0000 Subject: [PATCH] =?UTF-8?q?=E3=80=90OpenHarmony=E5=BC=80=E6=BA=90=E8=B4=A1?= =?UTF-8?q?=E7=8C=AE=E8=80=85=E8=AE=A1=E5=88=922022=E3=80=91=E6=9B=B4?= =?UTF-8?q?=E6=AD=A3drawing-guidelines.md=E9=94=99=E8=AF=AF=20Signed-off-b?= =?UTF-8?q?y:=20gloria=20<80926032@qq.com>?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 下面的设置和上文的文字描述不符 --- zh-cn/application-dev/napi/drawing-guidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zh-cn/application-dev/napi/drawing-guidelines.md b/zh-cn/application-dev/napi/drawing-guidelines.md index 8c35326560..bfdd9c85e2 100644 --- a/zh-cn/application-dev/napi/drawing-guidelines.md +++ b/zh-cn/application-dev/napi/drawing-guidelines.md @@ -157,7 +157,7 @@ Native Drawing模块提供了一系列的接口用于基本图形和字体的绘 2. **设置排版风格**。 ```c++ - // 选择左对齐/居中对齐等排版属性 + // 选择从左到右/左对齐等排版属性 OH_Drawing_TypographyStyle* typoStyle = OH_Drawing_CreateTypographyStyle(); OH_Drawing_SetTypographyTextDirection(typoStyle, TEXT_DIRECTION_LTR); OH_Drawing_SetTypographyTextAlign(typoStyle, TEXT_ALIGN_LEFT); -- GitLab