←Select platform

Center Property

Summary
Gets or sets center of the shutter. This is a dependency property.
Syntax
C#
VB
C++
public Point Center { get; set; } 
  
Public Property Center As Point 
public: 
property Point Center { 
   Point get(); 
   void set (    Point ); 
} 

Property Value

The center of the shutter. The value is a percentage of the image size. Default value is 0.5, 0.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 21.0.2021.3.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Windows.Media.Effects Assembly