From 231883bdccdd851d5b60934e76135c3c4ba3c681 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Thu, 4 Nov 2021 19:05:19 +0100 Subject: [PATCH] Improve description for `BitMap.grow_mask()` (cherry picked from commit e3d23d444ccfad7690a6f0a97bae353fb091927b) --- doc/classes/BitMap.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/classes/BitMap.xml b/doc/classes/BitMap.xml index 6742840d949..e2bb8c4daac 100644 --- a/doc/classes/BitMap.xml +++ b/doc/classes/BitMap.xml @@ -48,7 +48,7 @@ - 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].