Class MagnifyEffect
Effect that simulates a magnifying lens.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Microsoft.Expression.Media.Effects
Assembly: OpenSilver.Expression.Effects.dll
Syntax
public sealed class MagnifyEffect : ShaderEffect
Constructors
| Improve this Doc View SourceMagnifyEffect()
Creates an instance and updates the shader's variables to the default values.
Declaration
public MagnifyEffect()
Fields
| Improve this Doc View SourceAmountProperty
Gets or sets the amount variable within the shader.
Declaration
public static readonly DependencyProperty AmountProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
CenterProperty
Gets or sets the center variable within the shader.
Declaration
public static readonly DependencyProperty CenterProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
InnerRadiusProperty
Gets or sets the InnerRadius variable within the shader.
Declaration
public static readonly DependencyProperty InnerRadiusProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
InputProperty
Gets or sets the Input used in the shader.
Declaration
public static readonly DependencyProperty InputProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
OuterRadiusProperty
Gets or sets the OuterRadius variable within the shader.
Declaration
public static readonly DependencyProperty OuterRadiusProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
| Improve this Doc View SourceAmount
Gets or sets the ShrinkFactor. The higher the shrink factor the "smaller" the content inside the ellipse will appear.
Declaration
public double Amount { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Center
Gets or sets the Center variable within the shader.
Declaration
public Point Center { get; set; }
Property Value
Type | Description |
---|---|
Point |
EffectMapping
Gets the EffectMapping.
Declaration
protected override GeneralTransform EffectMapping { get; }
Property Value
Type | Description |
---|---|
GeneralTransform |
Overrides
| Improve this Doc View SourceInnerRadius
Gets or sets the InnerRadius variable within the shader.
Declaration
public double InnerRadius { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
OuterRadius
Gets or sets the OuterRadius variable within the shader.
Declaration
public double OuterRadius { get; set; }
Property Value
Type | Description |
---|---|
System.Double |