Declarationprocedure ClearSel(ClearAlpha: Boolean = False);
Fills the selected region with the background color
is true, the alpha channel
is also cleared (set to the Alpha
value, where 0 means fully transparent and 255 fully opaque). Note: This option has no no effect if the bitmap does not contain an alpha channel.
- If ClearAlpha is true an Alpha Channel will be added to the image
- To remove the area outside the selection, use CropSel
Example// Delete the selection and leave it as transparent