| 程序包 | 说明 |
|---|---|
| com.lark.oapi.service.board.v1.model |
| 限定符和类型 | 方法和说明 |
|---|---|
Text.Builder |
Text.Builder.angle(Integer angle)
文字旋转角度
示例值:90
|
Text.Builder |
Text.Builder.angle(TextTextAngleEnum angle)
文字旋转角度
示例值:90
|
Text.Builder |
Text.Builder.fontSize(Integer fontSize)
文字大小
示例值:14
|
Text.Builder |
Text.Builder.fontWeight(String fontWeight)
文字字重
示例值:regular
|
Text.Builder |
Text.Builder.fontWeight(TextFontWeightEnum fontWeight)
文字字重
示例值:regular
|
Text.Builder |
Text.Builder.horizontalAlign(String horizontalAlign)
水平对齐
示例值:
|
Text.Builder |
Text.Builder.horizontalAlign(TextHorizontalAlignEnum horizontalAlign)
水平对齐
示例值:
|
Text.Builder |
Text.Builder.italic(Boolean italic)
是否斜体
示例值:true
|
Text.Builder |
Text.Builder.lineThrough(Boolean lineThrough)
是否存在删除线
示例值:true
|
static Text.Builder |
Text.newBuilder() |
Text.Builder |
Text.Builder.richText(RichText richText)
富文本
示例值:
|
Text.Builder |
Text.Builder.text(String text)
文字内容
示例值:文字内容
|
Text.Builder |
Text.Builder.textBackgroundColor(String textBackgroundColor)
文字背景色,16 进制 rgb 值
示例值:#6db5a3
|
Text.Builder |
Text.Builder.textBackgroundColorType(Integer textBackgroundColorType)
文字背景颜色类型,0=系统颜色,1=自定义颜色
示例值:
|
Text.Builder |
Text.Builder.textBackgroundColorType(TextColorTypeEnum textBackgroundColorType)
文字背景颜色类型,0=系统颜色,1=自定义颜色
示例值:
|
Text.Builder |
Text.Builder.textColor(String textColor)
文字颜色,16 进制 rgb 值
示例值:#6db5a3
|
Text.Builder |
Text.Builder.textColorType(Integer textColorType)
文字颜色类型,0=系统颜色,1=自定义颜色
示例值:
|
Text.Builder |
Text.Builder.textColorType(TextColorTypeEnum textColorType)
文字颜色类型,0=系统颜色,1=自定义颜色
示例值:
|
Text.Builder |
Text.Builder.themeTextBackgroundColorCode(Integer themeTextBackgroundColorCode)
文字背景颜色主题配色编码值
示例值:-1
|
Text.Builder |
Text.Builder.themeTextColorCode(Integer themeTextColorCode)
文字颜色主题配色编码值
示例值:0
|
Text.Builder |
Text.Builder.underline(Boolean underline)
是否存在下划线
示例值:true
|
Text.Builder |
Text.Builder.verticalAlign(String verticalAlign)
垂直对齐
示例值:
|
Text.Builder |
Text.Builder.verticalAlign(TextVerticalAlignEnum verticalAlign)
垂直对齐
示例值:
|
| 构造器和说明 |
|---|
Text(Text.Builder builder) |
Copyright © 2025. All rights reserved.