functions
SquareOutline| modified | Sunday 25 January 2026 |
|---|
Category: Molecules
File: molecules.go
Package: ui
1func SquareOutline(size int, stroke color.NRGBA, width float32) W
SquareOutline renders a square outline with the specified size, color, and stroke width.
This is a convenience wrapper around RectangleOutline with equal dimensions.
Example:
square := SquareOutline(50, color.NRGBA{B: 255, A: 255}, 2.0) // Blue outlined square
Useful for creating bordered boxes or selection indicators.
1{
2 square := SquareOutline(50, BLUEBERRY_500, 2.0)
3 _ = square
4}

This documentation is auto-generated. To update, run make docs