shape/line_shape library
This is a Dart file named line_shape.dart. It contains the implementation of the LineShape class, which is a subclass of AbstractShape. The LineShape represents a line on a canvas with specified length, width, location, color, and style. It can be drawn on a canvas and has functionality for resizing, removing, and translating. The LineShape also has methods for checking if a point is over the line and getting the start and end offsets. This code is written in the Dart programming language.