| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
TextStyle.Builder |
align(Integer align)
对齐方式
示例值:1
|
TextStyle.Builder |
align(TextStyleAlignEnum align)
对齐方式
示例值:1
|
TextStyle.Builder |
backgroundColor(String backgroundColor)
块背景色
示例值:LightGrayBackground
|
TextStyle.Builder |
backgroundColor(TextStyleTextBackgroundColorEnum backgroundColor)
块背景色
示例值:LightGrayBackground
|
TextStyle |
build() |
TextStyle.Builder |
done(Boolean done)
todo 的完成状态
示例值:true
|
TextStyle.Builder |
folded(Boolean folded)
文本的折叠状态
示例值:true
|
TextStyle.Builder |
indentationLevel(String indentationLevel)
首行缩进级别
示例值:NoIndent
|
TextStyle.Builder |
indentationLevel(TextStyleIndentationLevelEnum indentationLevel)
首行缩进级别
示例值:NoIndent
|
TextStyle.Builder |
language(Integer language)
代码块语言
示例值:1
|
TextStyle.Builder |
language(TextStyleCodeLanguageEnum language)
代码块语言
示例值:1
|
TextStyle.Builder |
sequence(String sequence)
用于确定有序列表项编号,为具体数值或'auto'
示例值:"auto"
|
TextStyle.Builder |
wrap(Boolean wrap)
代码块是否自动换行
示例值:true
|
public TextStyle.Builder align(Integer align)
示例值:1
align - public TextStyle.Builder align(TextStyleAlignEnum align)
示例值:1
align - TextStyleAlignEnumpublic TextStyle.Builder done(Boolean done)
示例值:true
done - public TextStyle.Builder folded(Boolean folded)
示例值:true
folded - public TextStyle.Builder language(Integer language)
示例值:1
language - public TextStyle.Builder language(TextStyleCodeLanguageEnum language)
示例值:1
language - TextStyleCodeLanguageEnumpublic TextStyle.Builder wrap(Boolean wrap)
示例值:true
wrap - public TextStyle.Builder backgroundColor(String backgroundColor)
示例值:LightGrayBackground
backgroundColor - public TextStyle.Builder backgroundColor(TextStyleTextBackgroundColorEnum backgroundColor)
示例值:LightGrayBackground
backgroundColor - TextStyleTextBackgroundColorEnumpublic TextStyle.Builder indentationLevel(String indentationLevel)
示例值:NoIndent
indentationLevel - public TextStyle.Builder indentationLevel(TextStyleIndentationLevelEnum indentationLevel)
示例值:NoIndent
indentationLevel - TextStyleIndentationLevelEnumpublic TextStyle.Builder sequence(String sequence)
示例值:"auto"
sequence - public TextStyle build()
Copyright © 2025. All rights reserved.