class RatatuiRuby::Canvas

The Canvas Widget. @param shapes [Array] Array of shape objects (Line, Rectangle, Circle, Map). @param x_bounds [Array<Float>] [min, max] range for the x-axis. @param y_bounds [Array<Float>] [min, max] range for the y-axis. @param marker [Symbol] The marker to use for drawing (:braille, :dot, :block, :bar). @param block [Block, nil] Optional Block widget to wrap the canvas.