summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-11-04 19:55:41 +0100
committerGitHub <noreply@github.com>2021-11-04 19:55:41 +0100
commit578460f7fb7b694f4601e8e6fdc4a5ee67de4067 (patch)
tree46a055501c0e0f1eeefc5e1b5a12e46ace6611f7
parentee939c919b14a1935a0b6ccde338846a14cb9744 (diff)
parente3d23d444ccfad7690a6f0a97bae353fb091927b (diff)
Merge pull request #54604 from Calinou/doc-bitmap-grow-mask-improve-description
-rw-r--r--doc/classes/BitMap.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/BitMap.xml b/doc/classes/BitMap.xml
index 0997896260..dc655ee3b0 100644
--- a/doc/classes/BitMap.xml
+++ b/doc/classes/BitMap.xml
@@ -48,7 +48,7 @@
<argument index="0" name="pixels" type="int" />
<argument index="1" name="rect" type="Rect2" />
<description>
- Applies morphological dilation to the bitmap. The first argument is the dilation amount, Rect2 is the area where the dilation will be applied.
+ Applies morphological dilation or erosion to the bitmap. If [code]pixels[/code] is positive, dilation is applied to the bitmap. If [code]pixels[/code] is negative, erosion is applied to the bitmap. [code]rect[/code] defines the area where the morphological operation is applied. Pixels located outside the [code]rect[/code] are unaffected by [method grow_mask].
</description>
</method>
<method name="opaque_to_polygons" qualifiers="const">