From 0c375882f0d682b26aa2c1aec5aead2a1f3876c4 Mon Sep 17 00:00:00 2001 From: vcaesar Date: Fri, 14 Sep 2018 09:42:43 -0400 Subject: [PATCH] update godoc --- robotgo.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/robotgo.go b/robotgo.go index cf35dca..007ba7e 100644 --- a/robotgo.go +++ b/robotgo.go @@ -1045,7 +1045,9 @@ func GetPortion(bit C.MMBitmapRef, x, y, w, h int) C.MMBitmapRef { return pos } -// Convert convert bitmap +// Convert convert the bitmap +// +// robotgo.Convert(opath, spath string, type int) func Convert(opath, spath string, args ...int) { var mtype = 1 if len(args) > 0 { @@ -1098,6 +1100,8 @@ func GetColor(bitmap C.MMBitmapRef, x, y int) C.MMRGBHex { } // FindColor find bitmap color +// +// robotgo.FindColor(color CHex, bitmap C.MMBitmapRef, tolerance float) func FindColor(color CHex, args ...interface{}) (int, int) { var ( tolerance C.float = 0.01