skia_safe::image_filters

Function tile

Source
pub fn tile(
    src: impl AsRef<Rect>,
    dst: impl AsRef<Rect>,
    input: impl Into<Option<ImageFilter>>,
) -> Option<ImageFilter>
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.