类 OutlineFilter

  • 所有已实现的接口:
    BufferedImageOp, Cloneable

    public class OutlineFilter
    extends BinaryFilter
    Given a binary image, this filter converts it to its outline, replacing all interior pixels with the 'new' color.
    • 构造器详细资料

      • OutlineFilter

        public OutlineFilter()
    • 方法详细资料

      • filterPixels

        protected int[] filterPixels​(int width,
                                     int height,
                                     int[] inPixels,
                                     Rectangle transformedSpace)
        从类复制的说明: WholeImageFilter
        Actually filter the pixels.
        指定者:
        filterPixels 在类中 WholeImageFilter
        参数:
        width - the image width
        height - the image height
        inPixels - the image pixels
        transformedSpace - the output bounds
        返回:
        the output pixels