App
BrightnessLUTBrush.java
Go to the documentation of this file.
1 package mhr.appcore.tools.brushlike;
2 
3 import mhr.appcore.bitmap.NBitmap;
4 import mhr.appcore.blending.BlendMode;
5 import mhr.appcore.blending.Blender;
6 import mhr.appcore.image.Image;
7 import mhr.appcore.image.ImageSelectedState;
8 import mhr.appcore.pointops.LUT;
9 import mhr.appcore.tools.actiondata.ToolActionData;
10 import mhr.appcore.tools.exceptions.ToolNotApplicableException;
11 import mhr.appcore.utils.Rect;
12 
16 public class BrightnessLUTBrush extends LUTBrush {
17 
27  public BrightnessLUTBrush(NBitmap brush, double opacity, double flow, double spacing, double bias) {
28  super(brush, opacity, flow, spacing);
29  lut = LUT.getBrightnessLut(bias);
30  }
31 }