gpt4 book ai didi

com.jhlabs.image.WaterFilter.setWavelength()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-22 00:17:05 25 4
gpt4 key购买 nike

本文整理了Java中com.jhlabs.image.WaterFilter.setWavelength()方法的一些代码示例,展示了WaterFilter.setWavelength()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WaterFilter.setWavelength()方法的具体详情如下:
包路径:com.jhlabs.image.WaterFilter
类名称:WaterFilter
方法名:setWavelength

WaterFilter.setWavelength介绍

[英]Set the wavelength of the ripples.
[中]设置波纹的波长。

代码示例

代码示例来源:origin: io.leopard.thirdparty/jcaptcha-core

water.setWavelength(20);

代码示例来源:origin: penggle/kaptcha

waterFilter.setAmplitude(1.5f);
waterFilter.setPhase(10);
waterFilter.setWavelength(2);

代码示例来源:origin: com.github.penggle/kaptcha

waterFilter.setAmplitude(1.5f);
waterFilter.setPhase(10);
waterFilter.setWavelength(2);

代码示例来源:origin: com.github.axet/kaptcha

waterFilter.setAmplitude(1.5f);
waterFilter.setPhase(10);
waterFilter.setWavelength(2);

代码示例来源:origin: org.opencms.modules/org.opencms.frontend.templateone.form

water.setAntialias(true);
water.setPhase(0);
water.setWavelength(m_settings.getFilterWaveLength());

代码示例来源:origin: io.leopard.thirdparty/jcaptcha-core

water.setWavelength(20);

代码示例来源:origin: lbalazscs/Pixelitor

@Override
  public BufferedImage doTransform(BufferedImage src, BufferedImage dest) {
    if (filter == null) {
      filter = new WaterFilter(NAME);
    }

    filter.setCentreX(center.getRelativeX());
    filter.setCentreY(center.getRelativeY());
    filter.setRadius(radius.getValueAsFloat());
    filter.setWavelength(wavelength.getValueAsFloat());
    filter.setAmplitude(amplitude.getValueAsPercentage());
    filter.setPhase(phase.getValueInRadians());
    filter.setEdgeAction(edgeAction.getValue());
    filter.setInterpolation(interpolation.getValue());

    dest = filter.filter(src, dest);
    setAffectedAreaShapes(filter.getAffectedAreaShapes());
    return dest;
  }
}

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com