LEADTOOLS WPF and Silverlight (Leadtools.Windows.Media.Effects assembly)
LEAD Technologies, Inc

AspectRatio Property (CircularShutterEffect)






Gets or sets aspect ratio of the shutter. This is a dependency property. .NET support Silverlight support
Syntax
public double AspectRatio {get; set;}
'Declaration
 
Public Property AspectRatio As Double
'Usage
 
Dim instance As CircularShutterEffect
Dim value As Double
 
instance.AspectRatio = value
 
value = instance.AspectRatio
ObjectiveC Syntax
Java Syntax
public:
property double AspectRatio {
   double get();
   void set (    double value);
}

Property Value

The aspect ratio of the shutter. This value is multiplied by the Radius value to generate an elliptical shutter. Default value is 1.5.
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.

Example

For XAML example, refer to CircularShutterEffect.

For C#/VB examples, refer to CircularShutterEffect.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CircularShutterEffect Class
CircularShutterEffect Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.