gpt4 book ai didi

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

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

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

WaterFilter.setAmplitude介绍

[英]Set the amplitude of the ripples.
[中]设置涟漪的振幅。

代码示例

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

ripple.setEdgeAction(com.jhlabs.image.TransformFilter.CLAMP);
water.setAmplitude(10);

代码示例来源: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.setAmplitude(m_settings.getFilterAmplitude());
water.setAntialias(true);
water.setPhase(0);

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

rippleBack.setEdgeAction(com.jhlabs.image.TransformFilter.CLAMP);
water.setAmplitude(1);

代码示例来源: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;
  }
}

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