Afficher en anglais Édition

Partage via


CommunityToolkit.WinUI.UI.Media Namespace

Classes

AcrylicBrush

A XamlCompositionBrush that implements an acrylic effect with customizable parameters

AcrylicSourceExtension

A custom acrylic effect that can be inserted into a pipeline

AttachedVisualFactoryBase

A type responsible for creating Microsoft.UI.Composition.Visual instances to attach to target elements.

BackdropBlurBrush

The BackdropBlurBrush is a Microsoft.UI.Xaml.Media.Brush that blurs whatever is behind it in the application.

BackdropGammaTransferBrush

A brush which alters the colors of whatever is behind it in the application by applying a per-channel gamma transfer function. See https://microsoft.github.io/Win2D/html/T_Microsoft_Graphics_Canvas_Effects_GammaTransferEffect.htm.

BackdropInvertBrush

The BackdropInvertBrush is a Microsoft.UI.Xaml.Media.Brush which inverts whatever is behind it in the application.

BackdropSaturationBrush

Brush which applies a SaturationEffect to the Backdrop. http://microsoft.github.io/Win2D/html/T_Microsoft_Graphics_Canvas_Effects_SaturationEffect.htm

BackdropSepiaBrush

Brush which applies a SepiaEffect to the Backdrop. http://microsoft.github.io/Win2D/html/T_Microsoft_Graphics_Canvas_Effects_SepiaEffect.htm

BackdropSourceExtension

A backdrop effect that can sample from a specified source

BlendEffect

A blend effect that merges the current builder with an input one

BlurEffect

A gaussian blur effect

CanvasBrushBase

Helper Brush class to interop with Win2D Canvas calls.

CrossFadeEffect

A blend effect that merges the current builder with an input one

ExposureEffect

An exposure effect

GrayscaleEffect

A grayscale effect

HueRotationEffect

A hue rotation effect

ImageBlendBrush

Brush which blends a Microsoft.UI.Xaml.Media.Imaging.BitmapImage to the Backdrop in a given mode. See http://microsoft.github.io/Win2D/html/T_Microsoft_Graphics_Canvas_Effects_BlendEffect.htm.

ImageSourceBaseExtension

An image based effect that loads an image at the specified location

ImageSourceExtension

An image effect, which displays an image loaded as a Win2D surface

InvertEffect

An color inversion effect

LuminanceToAlphaEffect

A luminance to alpha effect

OpacityEffect

An opacity effect

PipelineBrush

A Microsoft.UI.Xaml.Media.Brush that renders a customizable Composition/Win2D effects pipeline

PipelineEffect

A base pipeline effect.

PipelineVisualFactory

A builder type for Microsoft.UI.Composition.SpriteVisual instance to apply to UI elements.

PipelineVisualFactoryBase

A base class that extends AttachedVisualFactoryBase by leveraging the PipelineBuilder APIs.

RadialGradientBrush

RadialGradientBrush - This GradientBrush defines its Gradient as an interpolation within an Ellipse.

SaturationEffect

A saturation effect

SepiaEffect

A sepia effect

ShadeEffect

An effect that overlays a color layer over the current builder, with a specified intensity

SolidColorSourceExtension

An effect that renders a standard 8bit SDR color on the available surface

TemperatureAndTintEffect

A temperature and tint effect

TilesBrush

A XamlCompositionBrush that displays a tiled image

TileSourceExtension

An effect that loads an image and replicates it to cover all the available surface area

TintEffect

A tint effect

UIElementExtensions

Attached properties to support attaching custom pipelines to UI elements.

XamlCompositionBrush

A simple class that can be used to quickly create XAML brushes from arbitrary PipelineBuilder pipelines

XamlCompositionEffectBrushBase

A custom Microsoft.UI.Xaml.Media.XamlCompositionBrushBaseclass that's ready to be used with a custom PipelineBuilder pipeline.

Interfaces

IPipelineEffect

The base interface for all the builder effects to be used in a Microsoft.UI.Composition.CompositionBrush.

Enums

AlphaMode

Specifies the way in which an alpha channel affects color channels.

CacheMode

Indicates the cache mode to use when loading a Win2D image

DpiMode

Indicates the DPI mode to use to load an image

ImageBlendMode

Blend mode to use when compositing effects. See http://microsoft.github.io/Win2D/html/T_Microsoft_Graphics_Canvas_Effects_BlendEffectMode.htm for details. Dissolve is not supported.

Placement

An enum used to modify the default placement of the input Windows.Graphics.Effects.IGraphicsEffectSource instance in a blend operation

Delegates

XamlEffectAnimation<T>

A delegate that represents a custom effect animation that can be applied to a XamlCompositionBrush instance

XamlEffectSetter<T>

A delegate that represents a custom effect setter that can be applied to a XamlCompositionBrush instance