LEADTOOLS WPF and Silverlight (Leadtools.Windows.Media.Effects assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
Radius Property
See Also 
Leadtools.Windows.Media.Effects Namespace > CircularShutterEffect Class : Radius Property



Gets or sets the radius of the shutter. This is a dependency property. Supported in Silverlight

Syntax

Visual Basic (Declaration) 
Public Property Radius As Double
Visual Basic (Usage)Copy Code
Dim instance As CircularShutterEffect
Dim value As Double
 
instance.Radius = value
 
value = instance.Radius
C# 
public double Radius {get; set;}
C++/CLI 
public:
property double Radius {
   double get();
   void set (    double value);
}

Property Value

The radius of the shutter. The value is a percentage of the image size. Default value is 0.25.

Example

For XAML example, refer to CircularShutterEffect.

For C#/VB examples, refer to CircularShutterEffect.

Remarks

This effect uses the Center, Radius and AspectRatio properties to construct the shutter area. The area outside the shutter are cleared using the color set in the ClearColor property.

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also