From fd89663a0f83473ec2a15fbe9b63f083d6eb967d Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Mon, 6 Apr 2020 19:03:28 +0300 Subject: [PATCH] Add selection gradient doc placeholder --- doc/lua.adoc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/lua.adoc b/doc/lua.adoc index dff865cd7..3f614a583 100644 --- a/doc/lua.adoc +++ b/doc/lua.adoc @@ -646,6 +646,14 @@ Example: local value = selection.get(sel, x, y); +=== gradient + +Create a "gradient" of selected positions. + +Example: + + local s = selection.gradient({ type = "radial", x = 3, y = 5, x2 = 10, y2 = 12, mindist = 4, maxdist = 10, limited = false }); + === grow Add locations to the selection by choosing unselected locations -- 2.50.1