←Select platform

AspectRatio Property

Summary

Gets or sets aspect ratio of the shutter. This is a dependency property.

Syntax

C#
VB
C++
public double AspectRatio { get; set; } 
  
Public Property AspectRatio As Double 
public: 
property double AspectRatio { 
   double get(); 
   void set (    double ); 
} 

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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Windows.Media.Effects Assembly