WhiteMemberState Class Reference

  • iOS

更新时间不可用

Whiteboard iOS SDK 2.16.147 公开接口。

@interface WhiteMemberState: WhiteReadonlyMemberState

成员

currentApplianceName

@property (nonatomic, copy, readwrite, nullable) WhiteApplianceNameKey currentApplianceName;
Text
互动白板实时房间内当前使用的工具名称。初始工具为pencil,无默认值。

Declared in Object/WhiteMemberState.h

strokeType

@property (nonatomic, copy, readwrite, nullable) WhiteStrokeType strokeType;

Declared in Object/WhiteMemberState.h

strokeColor

@property (nonatomic, copy, readwrite, nullable) NSArray<NSNumber *> *strokeColor;
Text
线条颜色,为 RGB 格式,例如,(0, 0, 255) 表示蓝色。

Declared in Object/WhiteMemberState.h

strokeWidth

@property (nonatomic, strong, readwrite, nullable) NSNumber *strokeWidth;
Text
线条粗细。

Declared in Object/WhiteMemberState.h

textColor

@property (nonatomic, copy, readwrite, nullable) NSArray<NSNumber *> *textColor;
Text
文本颜色,为 RGB 格式,例如,(0, 0, 255) 表示蓝色。

Declared in Object/WhiteMemberState.h

textSize

@property (nonatomic, strong, readwrite, nullable) NSNumber *textSize;
Text
字体大小。

Declared in Object/WhiteMemberState.h

pencilEraserSize

@property (nonatomic, strong, readwrite, nullable) NSNumber *pencilEraserSize;
Text
局部橡皮擦大小。 取值范围 1-3

Declared in Object/WhiteMemberState.h

textCanSelectText

@property (nonatomic, assign, readwrite, nullable) NSNumber *textCanSelectText;
Text
开启后可以在文字教具下直接选择编辑文字。NSNumber取值为 bool 类型。
 默认为 NO 。

Declared in Object/WhiteMemberState.h

dottedLine

@property (nonatomic, assign, readwrite, nullable) NSNumber *dottedLine;
Text
开启后可以在画笔教具下画虚线。NSNumber取值为 bool 类型。
 该功能要求设置 `disableNewPencil` 为 NO。
 默认为 NO 。

Declared in Object/WhiteMemberState.h

shapeType

@property (nonatomic, strong, readwrite, nullable) WhiteApplianceShapeTypeKey shapeType;
Text
当 currentApplianceName 为 Shape 时,所选定的 shape 图形;
 如果只设置 currentApplianceName 为 shape,iOS 端会默认设置为三角形
 @since 2.12.24

Declared in Object/WhiteMemberState.h

strokeOpacity

@property (nonatomic, assign, readwrite, nullable) NSNumber *strokeOpacity;
Text
线框透明度 ,仅在 WhiteSdkConfiguration.enableAppliancePlugin 启用时有效。

Declared in Object/WhiteMemberState.h

fillColor

@property (nonatomic, copy, readwrite, nullable) NSArray<NSNumber *> *fillColor;
Text
填充样式 ,仅在 WhiteSdkConfiguration.enableAppliancePlugin 启用时有效。

Declared in Object/WhiteMemberState.h

fillOpacity

@property (nonatomic, assign, readwrite, nullable) NSNumber *fillOpacity;
Text
填充透明度 ,仅在 WhiteSdkConfiguration.enableAppliancePlugin 启用时有效。

Declared in Object/WhiteMemberState.h

这个页面有帮助吗?