diff options
Diffstat (limited to 'doc/classes/BitMap.xml')
-rw-r--r-- | doc/classes/BitMap.xml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/classes/BitMap.xml b/doc/classes/BitMap.xml index 1d2fc950f0..036e968b65 100644 --- a/doc/classes/BitMap.xml +++ b/doc/classes/BitMap.xml @@ -25,8 +25,10 @@ </return> <argument index="0" name="image" type="Image"> </argument> + <argument index="1" name="threshold" type="float" default="0.1"> + </argument> <description> - Creates a bitmap that matches the given image dimensions, every element of the bitmap is set to false if the alpha value of the image at that position is 0, and true in other case. + Creates a bitmap that matches the given image dimensions, every element of the bitmap is set to false if the alpha value of the image at that position is equal to [code]threshold[/code] or less, and true in other case. </description> </method> <method name="get_bit" qualifiers="const"> |