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); First: without using FadedMaskCommandFlags.FadeOutsideRegion
transparency
FadedMaskCommandFlags.FadeWhiteToBlack
FadedMaskCommandFlags.FillWithDumpColor
FadedMaskCommandFlags.FillWithDumpColor | FadedMaskCommandFlags.FadeWhiteToBlack
FadedMaskCommandFlags.FillWithDumpColor | FadedMaskCommandFlags.DumpColorStart
FadedMaskCommandFlags.FillWithDumpColor | FadedMaskCommandFlags.DumpColorStart | FadedMaskCommandFlags.FadeWhiteToBlack
FadedMaskCommandFlags.FillWithDumpColor | FadedMaskCommandFlags.NoTransparencyFill
FadedMaskCommandFlags.FillWithDumpColor | FadedMaskCommandFlags.NoTransparencyFill | FadedMaskCommandFlags.TransparencyAsDump
plus many other possibilities
Second: using FadedMaskCommandFlags.FadeOutsideRegion:
Region type:
rounded rectangle smaller than the above region, Inflate = 60
FadedMaskCommandFlags.FadeOutsideRegion
FadedMaskCommandFlags.FadeOutsideRegion | FadedMaskCommandFlags.FadeWhiteToBlack
FadedMaskCommandFlags.FadeOutsideRegion | FadedMaskCommandFlags.FillWithDumpColor
FadedMaskCommandFlags.FadeOutsideRegion | FadedMaskCommandFlags.FillWithDumpColor | FadedMaskCommandFlags.FadeWhiteToBlackstrong>
FadedMaskCommandFlags.FadeOutsideRegion | FadedMaskCommandFlags.FillWithDumpColor | FadedMaskCommandFlags.FadeWhiteToBlack|FadedMaskCommandFlags.NoTransparencyFill
and so on………..
Products |
Support |
Feedback: Using the FadedMask Method |
Introduction |
Help Version 19.0.2017.6.21
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.