Package com.jhlabs.image

Examples of com.jhlabs.image.BrushedMetalFilter


public class BrushedMetal extends CachedTheme {

  @Override
  public void paint(Canvas canvas, Look look) {
    Colors colors = look.colors();
    BrushedMetalFilter filter = new BrushedMetalFilter();
    filter.setColor(colors.background().getRGB());
    filter.setRadius(10);
    filter.setAmount(0.15f);
    filter.setMonochrome(true);
    filter.setShine(0.2f);
    canvas.applyFilter(filter);
  }
View Full Code Here

TOP

Related Classes of com.jhlabs.image.BrushedMetalFilter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.