Function vizia::vg::image_filters::dilate
pub fn dilate(
_: (f32, f32),
input: impl Into<Option<RCHandle<SkImageFilter>>>,
crop_rect: impl Into<CropRect>,
) -> Option<RCHandle<SkImageFilter>>
Expand description
Create a filter that dilates each input pixel’s channel values to the max value within the given radii along the x and y axes.
radius_x
- The distance to dilate along the x axis to either side of each pixel.radius_y
- The distance to dilate along the y axis to either side of each pixel.input
- The image filter that is dilated, using source bitmap if this is null.crop_rect
- Optional rectangle that crops the input and output.