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