diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2021-11-04 19:05:19 +0100 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2021-11-04 19:05:19 +0100 |
commit | e3d23d444ccfad7690a6f0a97bae353fb091927b (patch) | |
tree | 6f26c6f89470aa401d6d2df6147fe856cf3d0a16 /doc/classes | |
parent | 197169b92a21667b5e4e6f05c4a612a4e539cc17 (diff) |
Improve description for `BitMap.grow_mask()`
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/BitMap.xml | 2 |
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"> |