File tree 1 file changed +4
-5
lines changed
windows-apps-src/composition
1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -205,10 +205,9 @@ LoadImage(surfaceBrush);
205
205
206
206
```cs
207
207
var catVisual = _compositor .CreateSpriteVisual ();
208
- catVisual .Brush = catEffect ;
209
- catVisual .Size = new Vector2 (219 , 300 );
210
- _root .Children .InsertAtBottom (catVisual );
211
- }
208
+ catVisual .Brush = catEffect ;
209
+ catVisual .Size = new Vector2 (219 , 300 );
210
+ _root .Children .InsertAtBottom (catVisual );
212
211
```
213
212
214
213
1 . Create your image source to load .
@@ -239,4 +238,4 @@ LoadImage(surfaceBrush);
239
238
- [Composition Brushes ](composition - brushes .md )
240
239
- [XamlCompositionBrushBase ](/ uwp / api / windows .ui .xaml .media .xamlcompositionbrushbase )
241
240
- [Animation Overview ](composition - animation .md )
242
- - [Composition native DirectX and Direct2D interoperation with BeginDraw and EndDraw ](composition - native - interop .md )
241
+ - [Composition native DirectX and Direct2D interoperation with BeginDraw and EndDraw ](composition - native - interop .md )
You can’t perform that action at this time.
0 commit comments