create_mask


Description:

public Surface create_mask (double threshold, out Rectangle extent)

Computes the mask of the surface.

Parameters:

threshold

value defining the minimum opacity [0.0 .. 1.0]

extent

bounding box of the found mask

Returns:

a new surface containing the mask