Represented by Neodynamic.SDK.FocalSoften class.
This action creates soften element with a focal point represented by a shape. ImageDraw implements a very flexible and powerful Focal Soften effect allowing you to define an area/region represented by a shape on which the FocalSoften effect takes place. Given that, you can get focal soften effects like rectangles, ovals, stars of any number of points, polygons of any number of sides and much more. You can specify whether the area/region for focus should fit the target element's size or be of a fixed size. You can control the area/region location as well. In addition, reversing the effect is also supported.
The smoothing soften effect is determined based on how the shape's fill is set up. For example, if you set up the shape's fill to be a solid color, then no smoothing soften effect will be produced. However, if you set up the shape's fill to be a gradient colors and one of those colors is transparent or contains some transparency (through out Alpha color channel), then a smoothing soften effect will take place.
In the following example we have an ImageElement on the Canvas and a FocalSoften action is applied on the ImageElement.
FocalSoften
ImageElement before the action is applied. |
ImageElement with Oval focal point. |
Syntax sample
Neodynamic ImageDraw SDK for .NET Documentation
Copyright © 2003 - 2008 Neodynamic - All rights reserved.
Copyright © 2003 - 2008 Neodynamic - All rights reserved.