Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions docs/assets/option/en/graphic/text-font.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,25 @@ Options:
- "break-word": Does not allow breaking words in CJK (Chinese/Japanese/Korean) text, only breaks at half-width spaces or hyphens.
- "keep-all": Does not break words in CJK (Chinese/Japanese/Korean) text. Non-CJK text words are not broken. (Supported since version 1.12.8)

#${prefix} whiteSpace(string) = 'no-wrap'

Whether to wrap

Options

- "no-wrap": Do not wrap
- "normal": Allow wrapping

#${prefix} suffixPosition(string) = 'end'

If the suffix is displayed, the position of the suffix

Options

- "start": The suffix is displayed at the beginning of the text
- "middle": The suffix is displayed in the middle of the text
- "end": The suffix is displayed at the end of the text

#${prefix} keepDirIn3d(boolean)

Whether to always maintain the direction facing the window in 3d mode (if set to false, it will rotate with the viewpoint, if set to true, the direction will always face the window)
19 changes: 19 additions & 0 deletions docs/assets/option/zh/graphic/text-font.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,25 @@
- "break-word": 不允许 CJK(中文/日文/韩文)文本中的单词换行,只能在半角空格或连字符处换行。
- "keep-all": CJK(中文/日文/韩文)文本不断行。非 CJK 文本单词不断行。(从 1.12.8 版本开始支持)

#${prefix} whiteSpace(string) = 'no-wrap'

是否折行

可选值:

- "no-wrap": 不允许折行
- "normal": 允许折行

#${prefix} suffixPosition(string) = 'end'

如果显示后缀的话,后缀显示的位置

可选值:

- "start": 在文本的开头
- "middle": 在文本的中间
- "end": 在文本的结尾

#${prefix} keepDirIn3d(boolean)

是否在 3d 模式中始终保持方向朝向窗口(配置为 false 则会随着视角旋转而旋转,配置为 true,那么方向始终朝向窗口)
Loading