Plank.Drawing.DockSurface.create_mask – plank Reference Manual
create_mask
Description:
public
DockSurface
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