Skip to content

BoardStyleConfig ​

Properties ​

brushColor? ​

optional brushColor?: string

画笔颜色(如 '#ff0000')


brushThin? ​

optional brushThin?: number

画笔粗细(实际像素 = brushThin * 白板高度 / 10000)


globalBackgroundColor? ​

optional globalBackgroundColor?: string

全局背景色(如 '#ffffff')


textColor? ​

optional textColor?: string

文本颜色(如 '#000000')


textSize? ​

optional textSize?: number

文本字号(实际像素 = textSize * 白板高度 / 10000)


textStyle? ​

optional textStyle?: number

文本样式(0:常规 1:粗体 2:斜体 3:粗斜体)