Versions in this module Expand all Collapse all v0 v0.1.4 May 29, 2026 v0.1.3 May 27, 2026 Changes in this version + type Alignment struct + Color string + Rounded float64 + Stroke string + type Background struct + Border float64 + Color string + Dashed string + Rounded float64 + Stroke string + func (bg Background) DashArray(canvasSize float64) float64 + func (bg Background) DashOffset(canvasSize float64) float64 + func (bg Background) Perimeter(canvasSize float64) float64 + func (bg Background) Side(canvasSize float64) float64 + type Cell struct + Color string + Gradient *Gradient + Opacity float64 + Rounded float64 + Size float64 + type Cells struct + Active Cell + Alignment Cell + Center Cell + Passive Cell + type Center struct + Background string + Image string + Logo string + Padding float64 + Shape string + Size float64 + Stroke string + type Dash struct + Array float64 + Offset float64 + type Finder struct + Color string + Gradient *Gradient + Rounded float64 + Stroke string + type Finders struct + BottomLeft Finder + TopLeft Finder + TopRight Finder + type Gradient struct + Angle float64 + Colors []string + Type string + type Options struct + Alignment Alignment + Background Background + Cells Cells + Center Center + Data string + Finders Finders + Level qrcode.RecoveryLevel + Merge bool + Padding int + Size int + Template string + func (o *Options) ExtractLogoColors() ([]string, error) + func (o *Options) Png() ([]byte, error) + func (o *Options) Svg() (string, error) + type Stroke struct + Color string + Dash Dash + Size float64