Skip to content

uberswe/centertext

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

centertext

Still a work in progress

A package which will take an image.Image, truetype.Font and text string and then draw the text centered on the provided image.

Here is how it could be used

out, err := centertext.OnImage(img, font, "Hello world")

About

A package which will take an image.Image, truetype.Font and text string and then draw the text centered on the provided image.

Resources

Stars

Watchers

Forks

Languages