From 9db508d34a2da0d0a3244cf73bb605e2c00c6229 Mon Sep 17 00:00:00 2001 From: Michael Fogleman Date: Mon, 14 Jan 2019 11:18:59 -0500 Subject: [PATCH] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 0417f94..6cef251 100644 --- a/README.md +++ b/README.md @@ -95,6 +95,7 @@ DrawString(s string, x, y 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) +MeasureMultilineString(s string, lineSpacing float64) (w, h float64) WordWrap(s string, w float64) []string SetFontFace(fontFace font.Face) LoadFontFace(path string, points float64) error @@ -173,6 +174,9 @@ defined using paths. Clip() ClipPreserve() ResetClip() +AsMask() *image.Alpha +SetMask(mask *image.Alpha) +InvertMask() ``` ## Helper Functions