pub fn dilate(
(radius_x, radius_y): (scalar, scalar),
input: impl Into<Option<ImageFilter>>,
crop_rect: impl Into<CropRect>,
) -> Option<ImageFilter>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.