RayTool constructor
RayTool({})
Implementation
RayTool({
required String id,
this.startPoint,
this.directionPoint,
Color color = const Color(0xFF00BFFF),
double strokeWidth = 2.0,
}) : super(
id: id,
type: DrawingToolType.ray,
createTime: DateTime.now(),
color: color,
strokeWidth: strokeWidth,
);