rockverse.viz.OrthogonalViewer.mask_alpha#

property OrthogonalViewer.mask_alpha#

Get or set the transparency level for the mask overlay.

This property controls the alpha (transparency) value of the mask overlay displayed on the image slices. The value must be a float between 0.0 and 1.0, where 0.0 is fully transparent (invisible) and 1.0 is fully opaque (completely visible).

Examples

>>> viewer.mask_alpha = 0.5   # Set the transparency to 50%
>>> current_alpha = viewer.mask_alpha  # Get the current transparency level