Versions in this module Expand all Collapse all v0 v0.1.0 May 17, 2026 Changes in this version + func RenderCard(bgData []byte, zones []Zone, fields map[string]string) ([]byte, error) + func SubstituteTokens(s string, fields map[string]string) string + type TextAlign int + const AlignCenter + const AlignLeft + const AlignRight + type Zone struct + Align string + Bold bool + Color string + FontFamily string + FontSize float64 + FrameColor string + FrameShape string + HeightPct float64 + ID string + ImageOffsetX float64 + ImageOffsetY float64 + ImageScale float64 + ImageSrc string + Italic bool + Opacity float64 + Text string + Type string + Underline bool + WidthPct float64 + XPct float64 + YPct float64 + func DefaultQRZone() Zone