How do I create a tiled image background using the compositor API?
D2D bitmap brushes have SetExtendModeX/Y
, but CompositionSurfaceBrush
don't seem to have an equivalent.
TileEffect
is marked "NoComposition".
I'd like to avoid creating screen-sized sufraces and tiling "manually" (i.e. with D2D).
BorderEffect
is what I was looking for. It works with composition and supports the same extend modes as a D2D bitmap brush.