vizia::vg::image_filters

Function tile

pub fn tile(
    src: impl AsRef<Rect>,
    dst: impl AsRef<Rect>,
    input: impl Into<Option<RCHandle<SkImageFilter>>>,
) -> Option<RCHandle<SkImageFilter>>
Expand description

Create a tile image filter.

  • src - Defines the pixels to tile
  • dst - Defines the pixel region that the tiles will be drawn to
  • input - The input that will be tiled, if null the source bitmap is used instead.