Skip to content

Commit

Permalink
Improve description for BitMap.grow_mask()
Browse files Browse the repository at this point in the history
(cherry picked from commit e3d23d4)
  • Loading branch information
Calinou authored and akien-mga committed Nov 4, 2021
1 parent 27ec7e6 commit 231883b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/classes/BitMap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down

0 comments on commit 231883b

Please sign in to comment.