Documentation
¶
Index ¶
- func Confetti(ps *animation.ParticleSystem, x, y int, count int)
- func Glow(canvas *graphics.Canvas, cx, cy, radius int, color backend.Color, ...)
- func LinearGradient(canvas *graphics.Canvas, x, y, w, h int, startColor, endColor backend.Color, ...)
- func RadialGradient(canvas *graphics.Canvas, cx, cy, radius int, ...)
- func Ripple(canvas *graphics.Canvas, cx, cy int, radius, maxRadius int, ...)
- func Shadow(canvas *graphics.Canvas, x, y, w, h, offsetX, offsetY, blur int, ...)
- func Shimmer(canvas *graphics.Canvas, x, y, w, h int, phase float64, color backend.Color)
- func Sparkle(ps *animation.ParticleSystem, x, y, w, h int, density float64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Confetti ¶
func Confetti(ps *animation.ParticleSystem, x, y int, count int)
Confetti emits a burst of confetti particles.
func LinearGradient ¶
func LinearGradient(canvas *graphics.Canvas, x, y, w, h int, startColor, endColor backend.Color, angle float64)
LinearGradient fills a region with a linear gradient.
func RadialGradient ¶
func RadialGradient(canvas *graphics.Canvas, cx, cy, radius int, centerColor, edgeColor backend.Color)
RadialGradient fills a region with a radial gradient.
func Ripple ¶
func Ripple(canvas *graphics.Canvas, cx, cy int, radius, maxRadius int, color backend.Color, thickness float64)
Ripple creates an expanding ring effect.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.