RtcAnnotationInterface mixin
The annotation interface
- Mixin applications
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clearContents(
) → Future< ResultCode> - Clear annotation content
-
clearUserContents(
String userId) → Future< ResultCode> - Clear annotation content by specific user ID
-
getToolType(
) → Future< WBToolType> - get tool type
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
redo(
) → Future< ResultCode> - Redo
-
setAspectSize(
int w, int h) → Future< ResultCode> - set annotation area aspect size
-
setColor(
WBColor color) → Future< ResultCode> - Set color
-
setFillColor(
WBColor color) → Future< ResultCode> - Set fill color
-
setFillType(
WBFillType type) → Future< ResultCode> - Set fill type
-
setFontSize(
int size) → Future< ResultCode> - Set font size
-
setFontStyle(
WBFontStyle style) → Future< ResultCode> - Set font style
-
setLineWidth(
int size) → Future< ResultCode> - Set line width
-
setOption(
dynamic option, AnnoOptionType type) → Future< ResultCode> - Set annotation option and paramters
-
setRoleType(
WBRoleType type) → Future< ResultCode> - Set annotation role type.
-
setScalingMode(
VideoScalingMode mode) → Future< ResultCode> - set annotation area scaling mode
-
setToolType(
WBToolType type) → Future< ResultCode> - Set tool type
-
setVisible(
bool visible) → Future< ResultCode> - Set annotation view visible/invisible.
-
snapshot(
String outputDir) → Future< ResultCode> - Save annotation contents to image.
-
startAnnotation(
RtcSurfaceViewModel viewModel) → Future< ResultCode> - Start annotation and set render window
-
stopAnnotation(
) → Future< ResultCode> - Stop the annotation.
-
toString(
) → String -
A string representation of this object.
inherited
-
undo(
) → Future< ResultCode> - Undo
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited