Skip to content

Commit ea0e75f

Browse files
committed
Update composition-brushes.md
1 parent ce34b1b commit ea0e75f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hub/apps/develop/composition/composition-brushes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ _imageVisual.Size = new Vector2(156, 156);
154154
### Paint with a custom drawing
155155
A [CompositionSurfaceBrush](/windows/windows-app-sdk/api/winrt/microsoft.ui.composition.compositionsurfacebrush) can also be used to paint an area with pixels from an ICompositionSurface rendered using [Win2D](https://microsoft.github.io/Win2D/html/Introduction.htm) (or D2D).
156156

157-
The following code shows a SpriteVisual painted with a text run rendered onto an ICompositionSurface by using Win2D. To use Win2D with WinUI, install the [Win2D.WinUI NuGet package](https://www.nuget.org/packages/Win2D.WinUI) in your project.
157+
The following code shows a SpriteVisual painted with a text run rendered onto an ICompositionSurface by using Win2D. To use Win2D with WinUI, install the [Microsoft.Graphics.Win2D NuGet package](https://www.nuget.org/packages/Microsoft.Graphics.Win2D) in your project.
158158

159159
```cs
160160
Compositor _compositor;

0 commit comments

Comments
 (0)