mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 19:28:57 +01:00
text: Add comments
This commit is contained in:
parent
65783489a5
commit
911750c4a6
@ -246,6 +246,7 @@ func Draw(dst *ebiten.Image, text string, face font.Face, x, y int, clr color.Co
|
||||
|
||||
// MeasureString returns the measured size of a given string using a given font.
|
||||
// This method will return the exact size in pixels that a string drawn by Draw will be.
|
||||
// text can include multiple lines.
|
||||
//
|
||||
// text is the string that's being measured.
|
||||
// face is the font for text rendering.
|
||||
|
Loading…
Reference in New Issue
Block a user