ImageFilter.erode constructor

ImageFilter.erode(
  1. {double radiusX = 0.0,
  2. double radiusY = 0.0}
)

Create a filter that erodes each input pixel's channel values to the minimum channel value within the given radii along the x and y axes.

Implementation

factory ImageFilter.erode({ double radiusX = 0.0, double radiusY = 0.0 }) {
  return _ErodeImageFilter(radiusX: radiusX, radiusY: radiusY);
}