When using the FadedMaskCommand class, the general process is as follows:
Open any bitmap.
Select any region.
Create a Fade Mask. The images below show various fade masks resulting from the use of various flags. For these images, the following values were also used:
Region type: rounded rectangle.
Length = 50;
FadeRate = 15; StepSize = 3; MaxGray = 255; Transparent = RGB(255, 0, 0);
Without using FadedMaskCommandFlags.FadeOutsideRegion
plus many other possibilities
Rounded rectangle smaller than the above region, Inflate = 60
and so on...
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries