set_apply_mask


Description:

public bool set_apply_mask (bool apply_mask)

Set the apply mask setting of the specified layer.

This procedure sets the specified layer's apply mask setting. This controls whether the layer's mask is currently affecting the alpha channel. If there is no layer mask, this function will return an error.

Parameters:

this

The layer.

apply_mask

The new layer's apply mask setting.

Returns:

TRUE on success.