This documentation is for the old version. Go to the latest Graphics Mill docs

RectangleRubberband.MaskStyle Property

Gets/sets a value which specified when to enable masking of the area outside of the rectangle.

Namespace: Aurigma.GraphicsMill.WinControls
Assembly: Aurigma.GraphicsMill.WinControls (in Aurigma.GraphicsMill.WinControls.dll)

Syntax

Visual Basic
<BrowsableAttribute(True)> _
Public Property MaskStyle As MaskStyle
C#
[BrowsableAttribute(true)]
public MaskStyle MaskStyle { get; set; }

Property Value

A member of the MaskStyle enumeration which specifies when to enable the mask.

Remarks

The mask "shadows" the portion of the image which is out of the rectangle. It is convenient to use this feature when you are using the rubberband to specify the cropping frame. The masked area will represent the part of image which will be discarded after the crop.

The mask color can be modified with the MaskColor property. The mask opacity is set with the MaskOpacity property.

See Also

Reference