CrossFadeEffect Class |
Namespace: Microsoft.Graphics.Canvas.Effects
public sealed class CrossFadeEffect : ICanvasEffect, IGraphicsEffect, IGraphicsEffectSource, ICanvasImage, IDisposable
The CrossFadeEffect type exposes the following members.
Name | Description | |
---|---|---|
CrossFadeEffect | [Win10_14393] Initializes a new instance of the CrossFadeEffect class. |
Name | Description | |
---|---|---|
BufferPrecision | [Win10_14393] Specifies what precision to use for intermediate buffers when drawing this effect. | |
CacheOutput | [Win10_14393] Enables caching the output from drawing this effect. | |
CrossFade | [Win10_14393] Specifies the interpolation position between the two images. Default value 0.5, range 0 to 1. | |
IsSupported | Checks whether CrossFadeEffect is supported on the current operating system version. | |
Name | [Win10_14393] Attaches a user-defined name string to the effect. | |
Source1 | [Win10_14393] Gets or sets the first input source for CrossFade effect. | |
Source2 | [Win10_14393] Gets or sets the second input source for CrossFade effect. |
Name | Description | |
---|---|---|
Dispose | [Win10_14393] Releases all resources used by the effect. | |
GetBounds(ICanvasResourceCreator) | [Win10_14393] Retrieves the bounds of this CrossFadeEffect. | |
GetBounds(ICanvasResourceCreator, Matrix3x2) | [Win10_14393] Retrieves the bounds of this CrossFadeEffect. | |
GetInvalidRectangles | [Win10_14393] Queries what regions of the effect output have changed since it was last drawn. | |
GetRequiredSourceRectangle | [Win10_14393] Queries what part of an effect source image is needed to draw an output region. | |
GetRequiredSourceRectangles | [Win10_14393] Queries what parts of the effect source images are needed to draw an output region. | |
InvalidateSourceRectangle | [Win10_14393] Notifies the effect that one of its source images has changed. |
This API is only available when running on Windows 10 build 14393 (Anniversary Update) or greater.
This Windows Runtime type corresponds to the D2D Cross Fade effect.