Skip to content

Commit

Permalink
text/v2: add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
hajimehoshi committed Aug 20, 2024
1 parent 35f9b1c commit b131264
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion text/v2/text.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,10 @@ type Glyph struct {

// Image is a rasterized glyph image.
// Image is a grayscale image i.e. RGBA values are the same.
// Image should be used as a render source and should not be modified.
//
// Image should be used as a render source and must not be modified.
//
// Image can be nil.
Image *ebiten.Image

// X is the X position to render this glyph.
Expand Down

0 comments on commit b131264

Please sign in to comment.