mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 11:18:54 +01:00
text/v2: add comments
This commit is contained in:
parent
35f9b1c224
commit
b131264c77
@ -126,7 +126,10 @@ type Glyph struct {
|
|||||||
|
|
||||||
// Image is a rasterized glyph image.
|
// Image is a rasterized glyph image.
|
||||||
// Image is a grayscale image i.e. RGBA values are the same.
|
// 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
|
Image *ebiten.Image
|
||||||
|
|
||||||
// X is the X position to render this glyph.
|
// X is the X position to render this glyph.
|
||||||
|
Loading…
Reference in New Issue
Block a user