text: add a comment about Glyph.Image

Updates #2047
This commit is contained in:
Hajime Hoshi 2022-04-02 18:58:06 +09:00
parent 9ddcf58728
commit 7cee60f00f

View File

@ -395,6 +395,7 @@ type Glyph struct {
// Image is an image for this glyph.
// Image is a grayscale image i.e. RGBA values are the same.
// Image should be used as a render source not be modified.
Image *ebiten.Image
// X is the X position to render this glyph.