未验证 提交 b49b3215 编写于 作者: O openharmony_ci 提交者: Gitee

!5050 【轻量级 PR】:3.1Release分支:update zh-cn/application-dev/napi/drawing-guidelines.md:注释错误修改,需同步翻译

Merge pull request !5050 from 葛亚芳/N/A
...@@ -157,7 +157,7 @@ Native Drawing模块提供了一系列的接口用于基本图形和字体的绘 ...@@ -157,7 +157,7 @@ Native Drawing模块提供了一系列的接口用于基本图形和字体的绘
2. **设置排版风格** 2. **设置排版风格**
```c++ ```c++
// 选择左对齐/居中对齐等排版属性 // 选择从左到右/左对齐等排版属性
OH_Drawing_TypographyStyle* typoStyle = OH_Drawing_CreateTypographyStyle(); OH_Drawing_TypographyStyle* typoStyle = OH_Drawing_CreateTypographyStyle();
OH_Drawing_SetTypographyTextDirection(typoStyle, TEXT_DIRECTION_LTR); OH_Drawing_SetTypographyTextDirection(typoStyle, TEXT_DIRECTION_LTR);
OH_Drawing_SetTypographyTextAlign(typoStyle, TEXT_ALIGN_LEFT); OH_Drawing_SetTypographyTextAlign(typoStyle, TEXT_ALIGN_LEFT);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册