WhiteMemberState Class Reference

Inherits from WhiteReadonlyMemberState : WhiteObject
Declared in WhiteMemberState.h

Overview

互动白板实时房间的工具状态。初始工具为 pencil,无默认值。

  currentApplianceName

互动白板实时房间内当前使用的工具名称。初始工具为 pencil,无默认值。

@property (nonatomic, copy, readwrite, nullable) WhiteApplianceNameKey currentApplianceName

Declared In

WhiteMemberState.h

  strokeColor

线条颜色,为 RGB 格式,例如,(0, 0, 255) 表示蓝色。

@property (nonatomic, copy, readwrite, nullable) NSArray<NSNumber*> *strokeColor

Declared In

WhiteMemberState.h

  strokeWidth

线条粗细。

@property (nonatomic, strong, readwrite, nullable) NSNumber *strokeWidth

Declared In

WhiteMemberState.h

  textSize

字体大小。

@property (nonatomic, strong, readwrite, nullable) NSNumber *textSize

Declared In

WhiteMemberState.h

  textCanSelectText

是否开启在文字教具下直接选择并编辑文字。NSNumber取值为 bool 类型。

@property (nonatomic, assign, readwrite, nullable) NSNumber *textCanSelectText

Discussion

  • YES:开启。
  • NO:(默认)不开启。

Declared In

WhiteMemberState.h

  dottedLine

是否开启铅笔工具画虚线功能。NSNumber 取值为 bool 类型。 该功能要求设置 disableNewPencil 为 false。

@property (nonatomic, assign, readwrite, nullable) NSNumber *dottedLine

Discussion

  • YES:开启。
  • NO:(默认)不开启。

Declared In

WhiteMemberState.h