Update README.md
This commit is contained in:
parent
77d18b88fe
commit
9db508d34a
@ -95,6 +95,7 @@ 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)
|
DrawStringWrapped(s string, x, y, ax, ay, width, lineSpacing float64, align Align)
|
||||||
MeasureString(s string) (w, h float64)
|
MeasureString(s string) (w, h float64)
|
||||||
|
MeasureMultilineString(s string, lineSpacing float64) (w, h float64)
|
||||||
WordWrap(s string, w float64) []string
|
WordWrap(s string, w float64) []string
|
||||||
SetFontFace(fontFace font.Face)
|
SetFontFace(fontFace font.Face)
|
||||||
LoadFontFace(path string, points float64) error
|
LoadFontFace(path string, points float64) error
|
||||||
@ -173,6 +174,9 @@ defined using paths.
|
|||||||
Clip()
|
Clip()
|
||||||
ClipPreserve()
|
ClipPreserve()
|
||||||
ResetClip()
|
ResetClip()
|
||||||
|
AsMask() *image.Alpha
|
||||||
|
SetMask(mask *image.Alpha)
|
||||||
|
InvertMask()
|
||||||
```
|
```
|
||||||
|
|
||||||
## Helper Functions
|
## Helper Functions
|
||||||
|
Loading…
Reference in New Issue
Block a user