Effect.EffectMapping Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When overridden in a derived class, transforms mouse input and coordinate systems through the effect.
protected public:
virtual property System::Windows::Media::GeneralTransform ^ EffectMapping { System::Windows::Media::GeneralTransform ^ get(); };
protected internal virtual System.Windows.Media.GeneralTransform EffectMapping { get; }
member this.EffectMapping : System.Windows.Media.GeneralTransform
Protected Friend Overridable ReadOnly Property EffectMapping As GeneralTransform
Property Value
The transform to apply. The default is the identity transform.
Remarks
Override the EffectMapping property to assign a transform that differs from the default identity transform.
Input is transformed through the inverse of this transform. The TransformToAncestor and TransformToDescendant methods also have the EffectMapping transform applied.
Incoming points must be in the [0-1] range, and outgoing points must map to the [0-1] range. The Inverse property must return a GeneralTransform that computes the inverse mapping.
The inverse transform maps a point from after the effect is applied to the point that it came from before the effect. The non-inverse transform maps a point from before the effect is applied to after the effect is applied.
Note that the transform does not include information about the physical pixel size being used, and it just operates in the unit range.
Applies to
See also
Atsauksmes
https://aka.ms/ContentUserFeedback.
Drīzumā: 2024. gada laikā mēs pakāpeniski pārtrauksim izmantot “GitHub problēmas” kā atsauksmju par saturu mehānismu un aizstāsim to ar jaunu atsauksmju sistēmu. Papildinformāciju skatiet:Iesniegt un skatīt atsauksmes par