class RatatuiRuby::Widgets::Shape::Line

A line shape on a canvas.

x1

The starting x-coordinate.

y1

The starting y-coordinate.

x2

The ending x-coordinate.

y2

The ending y-coordinate.

color

The color of the line.