←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 valus is a percentage of the image size. Default value is 0.5, 0.5.

Remarks

This effect uses the Center, Width and Height 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 RectangularShutterEffect.

For C#/VB examples, refer to RectangularShutterEffect.

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