WhiteMemberState Class Reference
成员
currentApplianceName
@property (nonatomic, copy, readwrite, nullable) WhiteApplianceNameKey currentApplianceName;互动白板实时房间内当前使用的工具名称。初始工具为pencil,无默认值。
strokeType
@property (nonatomic, copy, readwrite, nullable) WhiteStrokeType strokeType;strokeColor
@property (nonatomic, copy, readwrite, nullable) NSArray<NSNumber *> *strokeColor;线条颜色,为 RGB 格式,例如,(0, 0, 255) 表示蓝色。
strokeWidth
@property (nonatomic, strong, readwrite, nullable) NSNumber *strokeWidth;线条粗细。
textColor
@property (nonatomic, copy, readwrite, nullable) NSArray<NSNumber *> *textColor;文本颜色,为 RGB 格式,例如,(0, 0, 255) 表示蓝色。
textSize
@property (nonatomic, strong, readwrite, nullable) NSNumber *textSize;字体大小。
pencilEraserSize
@property (nonatomic, strong, readwrite, nullable) NSNumber *pencilEraserSize;局部橡皮擦大小。 取值范围 1-3
textCanSelectText
@property (nonatomic, assign, readwrite, nullable) NSNumber *textCanSelectText;开启后可以在文字教具下直接选择编辑文字。NSNumber取值为 bool 类型。 默认为 NO 。
dottedLine
@property (nonatomic, assign, readwrite, nullable) NSNumber *dottedLine;开启后可以在画笔教具下画虚线。NSNumber取值为 bool 类型。 该功能要求设置 `disableNewPencil` 为 NO。 默认为 NO 。
shapeType
@property (nonatomic, strong, readwrite, nullable) WhiteApplianceShapeTypeKey shapeType;当 currentApplianceName 为 Shape 时,所选定的 shape 图形; 如果只设置 currentApplianceName 为 shape,iOS 端会默认设置为三角形 @since 2.12.24
strokeOpacity
@property (nonatomic, assign, readwrite, nullable) NSNumber *strokeOpacity;线框透明度 ,仅在 WhiteSdkConfiguration.enableAppliancePlugin 启用时有效。
fillColor
@property (nonatomic, copy, readwrite, nullable) NSArray<NSNumber *> *fillColor;填充样式 ,仅在 WhiteSdkConfiguration.enableAppliancePlugin 启用时有效。
fillOpacity
@property (nonatomic, assign, readwrite, nullable) NSNumber *fillOpacity;填充透明度 ,仅在 WhiteSdkConfiguration.enableAppliancePlugin 启用时有效。