Checkpoint
This commit is contained in:
160 files changed
+76293
-387
No files matched your search
@@ -0,0 +1,15 @@
|
||||
package draw
|
||||
|
||||
import (
|
||||
"image/color"
|
||||
|
||||
"github.com/BeatGlow/beatglow/draw/font"
|
||||
)
|
||||
|
||||
// Text draws text using the specified font and color.
|
||||
func Text(dst Image, font *font.Font, color color.Color, x, y int, text string) {
|
||||
if font == nil {
|
||||
return
|
||||
}
|
||||
font.Print(dst, color, x, y, text)
|
||||
}
|
||||
Reference in new issue
Block a user