ZegoSuperBoardCursorAttribute class
Description: This API parameter construction class is used to introduce the parameters required for the cursor style.
Business scenario: The setCustomCursorAttribute API is called.
Constructors
- ZegoSuperBoardCursorAttribute({String iconPath = 'https://storage.zego.im/goclass/wbCursor/defaultCursor.png', int? offsetX = 0, int? offsetY = 0, ZegoSuperBoardCursorTitleStyle? titleStyle})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- iconPath ↔ String
-
Description: Path of the custom cursor image, which can be a local or network path. (Only images of the PNG format and network image URLs in the HTTPS format are supported.) For example, xxxxxxxxxx.png and https://xxxxxxxx.com/xxx.png.
Required: true
getter/setter pair
- offsetX ↔ int?
-
Description: Customize the offset of the cursor along the X-axis, which is 0 by default and cannot exceed the image width.
Required: true
getter/setter pair
- offsetY ↔ int?
-
Description: Customize the offset of the cursor along the Y-axis, which is 0 by default and cannot exceed the image height.
Required: true
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- titleStyle ↔ ZegoSuperBoardCursorTitleStyle?
-
Detailed description: Cursor custom text information
Required: NO
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited