Visual Basic (Declaration) | |
---|---|
Public Property Center As Point |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As RectangularShutterEffect Dim value As Point instance.Center = value value = instance.Center |
C# | |
---|---|
public Point Center {get; set;} |
Property Value
The center of the shutter. The valus is a percentage of the image size. Default value is 0.5, 0.5.For XAML example, refer to RectangularShutterEffect.
For C#/VB examples, refer to RectangularShutterEffect.
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.
Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)