package
1.3.0
Repository: https://github.com/zoomoid/waveman2.git
Documentation: pkg.go.dev

# Functions

NewPainter constructs a new Box painter with the passed options and fills in defaults for missing fields.

# Constants

AlignmentBottom pulls all boxes to the canvas's lower boundary.
AlignmentCenter centers all boxes in the canvas's horizontal center axis.
AlignmentEmpty is used for catching unitialized alignment.
AlignmentTop pulls all boxes to the canvas's upper boundary.
DefaultAlignment for boxes is center.
DefaultColor for boxes is black.
DefaultGap of each box is 10px.
DefaultHeight of a canvas is 200px.
No description provided by the author
DefaultRounded rounding ratio is 10px.
DefaultWidth of each box is 20px.

# Variables

No description provided by the author
No description provided by the author

# Structs

No description provided by the author
BoxPainter is the struct containing context for drawing a waveform as SVG rectangles.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

Alignment is the categorical type for determining the box alignment axis.