update readme
This commit is contained in:
parent
feba086eb0
commit
6e542bac45
@ -78,7 +78,9 @@ It is often desired to center an image at a point. Use `DrawImageAnchored` with
|
|||||||
```go
|
```go
|
||||||
DrawString(s string, x, y float64)
|
DrawString(s string, x, y float64)
|
||||||
DrawStringAnchored(s string, x, y, ax, ay float64)
|
DrawStringAnchored(s string, x, y, ax, ay float64)
|
||||||
|
DrawStringWrapped(s string, x, y, ax, ay, width, lineSpacing float64, align Align)
|
||||||
MeasureString(s string) (w, h float64)
|
MeasureString(s string) (w, h float64)
|
||||||
|
WordWrap(s string, w float64) []string
|
||||||
SetFontFace(fontFace font.Face)
|
SetFontFace(fontFace font.Face)
|
||||||
LoadFontFace(path string, points float64)
|
LoadFontFace(path string, points float64)
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user