Function vizia::vg::image_filters::blur
pub fn blur(
_: (f32, f32),
tile_mode: impl Into<Option<SkTileMode>>,
input: impl Into<Option<RCHandle<SkImageFilter>>>,
crop_rect: impl Into<CropRect>,
) -> Option<RCHandle<SkImageFilter>>
Expand description
Create a filter that blurs its input by the separate X and Y sigmas. The provided tile mode is used when the blur kernel goes outside the input image.
sigma_x
- The Gaussian sigma value for blurring along the X axis.sigma_y
- The Gaussian sigma value for blurring along the Y axis.tile_mode
- The tile mode applied at edges .input
- The input filter that is blurred, uses source bitmap if this is null.crop_rect
- Optional rectangle that crops the input and output.