---
title: "RectangleController..::.maskOpacity Property "
canonical: https://www.graphicsmill.com/docs/gm5/P_J_GraphicsMill_RectangleController_maskOpacity.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# RectangleController.maskOpacity Property 
 
Gets/sets the opacity of the mask.
 
**Namespace:** [GraphicsMill](https://www.graphicsmill.com/docs/gm5/N_J_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill.AjaxControls (in Aurigma.GraphicsMill.AjaxControls.dll)
 
## Syntax
  
```
function get_maskOpacity();
function set_maskOpacity(value);
```
 
### Property Value
The value which represents the opacity of the mask. Should lie between 0 and 100 inclusive.
 
## Remarks
  
This property corresponds to [RectangleRubberband.MaskOpacity](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_AjaxControls_RectangleRubberband_MaskOpacity.htm.md) server-side member.
   
## See Also

### Reference

- [RectangleController Class](https://www.graphicsmill.com/docs/gm5/T_J_GraphicsMill_RectangleController.htm.md)
- [GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm5/N_J_GraphicsMill.htm.md)
