components/whiteboard_components/whiteboard_shape library
Classes
- WhiteboardShape
- Represents a shape on the whiteboard.
Enums
- LineType
- Enum representing the different line types for shapes.
- WhiteboardMode
- Represents the current drawing mode of the whiteboard.
- WhiteboardShapeType
- Enum representing the different types of shapes that can be drawn on the whiteboard.
Functions
-
lineTypeToString(
LineType lineType) → String - Converts a LineType to a string representation.
-
modeToString(
WhiteboardMode mode) → String - Converts a WhiteboardMode to a string representation.
-
shapeTypeToString(
WhiteboardShapeType type) → String - Converts a WhiteboardShapeType to a string representation.
-
stringToLineType(
String str) → LineType - Converts a string to a LineType.
-
stringToShapeType(
String str) → WhiteboardShapeType - Converts a string to a WhiteboardShapeType.