public static class TextElementStyle.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
TextElementStyle.Builder |
backgroundColor(Integer backgroundColor)
背景色
示例值:1
|
TextElementStyle.Builder |
backgroundColor(TextElementStyleFontBackgroundColorEnum backgroundColor)
背景色
示例值:1
|
TextElementStyle.Builder |
bold(Boolean bold)
加粗
示例值:true
|
TextElementStyle |
build() |
TextElementStyle.Builder |
commentIds(String[] commentIds)
评论 id 列表
示例值:["1660030311959965796"]
|
TextElementStyle.Builder |
inlineCode(Boolean inlineCode)
inline 代码
示例值:true
|
TextElementStyle.Builder |
italic(Boolean italic)
斜体
示例值:true
|
TextElementStyle.Builder |
link(Link link)
链接
示例值:
|
TextElementStyle.Builder |
strikethrough(Boolean strikethrough)
删除线
示例值:true
|
TextElementStyle.Builder |
textColor(Integer textColor)
字体颜色
示例值:1
|
TextElementStyle.Builder |
textColor(TextElementStyleFontColorEnum textColor)
字体颜色
示例值:1
|
TextElementStyle.Builder |
underline(Boolean underline)
下划线
示例值:true
|
public TextElementStyle.Builder bold(Boolean bold)
示例值:true
bold - public TextElementStyle.Builder italic(Boolean italic)
示例值:true
italic - public TextElementStyle.Builder strikethrough(Boolean strikethrough)
示例值:true
strikethrough - public TextElementStyle.Builder underline(Boolean underline)
示例值:true
underline - public TextElementStyle.Builder inlineCode(Boolean inlineCode)
示例值:true
inlineCode - public TextElementStyle.Builder backgroundColor(Integer backgroundColor)
示例值:1
backgroundColor - public TextElementStyle.Builder backgroundColor(TextElementStyleFontBackgroundColorEnum backgroundColor)
示例值:1
backgroundColor - TextElementStyleFontBackgroundColorEnumpublic TextElementStyle.Builder textColor(Integer textColor)
示例值:1
textColor - public TextElementStyle.Builder textColor(TextElementStyleFontColorEnum textColor)
示例值:1
textColor - TextElementStyleFontColorEnumpublic TextElementStyle.Builder link(Link link)
示例值:
link - public TextElementStyle.Builder commentIds(String[] commentIds)
示例值:["1660030311959965796"]
commentIds - public TextElementStyle build()
Copyright © 2022. All rights reserved.