Skip to content

Commit

Permalink
Fix: readme
Browse files Browse the repository at this point in the history
  • Loading branch information
zijiren233 committed Aug 30, 2022
1 parent ad1b8f1 commit 981596e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
func main() {
pic := text2picture.NewPictureWithBackGround(text2picture.NewWhiteBackGround(500, 100), 320, 10, 5)
pic.DrawWithBlack("test 123\n4321...")
pic.DrawWithColor(&image.Uniform{color.Gray16{0x60f2}}, "test color ... ")
pic.DrawWithColor(0x60f2, "test color ... ")
pic.PointOffset(0, 5)
pic.DrawWithBlack("test offset\n")
f, err := os.OpenFile("./test.png", os.O_CREATE|os.O_WRONLY|os.O_TRUNC, os.ModePerm)
Expand Down

0 comments on commit 981596e

Please sign in to comment.