类 GradientWipeFilter

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

    public class GradientWipeFilter
    extends AbstractBufferedImageOp
    A filter which can be used to produce wipes by transferring the luma of a mask image into the alpha channel of the source.
    • 构造器详细资料

      • GradientWipeFilter

        public GradientWipeFilter()
    • 方法详细资料

      • setDensity

        public void setDensity​(float density)
        Set the density of the image in the range 0..1.*arg density The density
        参数:
        density - Density
      • getDensity

        public float getDensity()
      • setSoftness

        public void setSoftness​(float softness)
        Set the softness of the dissolve in the range 0..1.
        参数:
        softness - the softness min-value 0 max-value 1
        另请参阅:
        getSoftness()
      • getSoftness

        public float getSoftness()
        Get the softness of the dissolve.
        返回:
        the softness
        另请参阅:
        setSoftness(float)
      • setInvert

        public void setInvert​(boolean invert)
      • getInvert

        public boolean getInvert()