App

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List
- File Members

ContrastLUTBrush.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 ContrastLUTBrush extends LUTBrush {
17
27 public ContrastLUTBrush(NBitmap brush, double opacity, double flow, double spacing, double bias) {
28 super(brush, opacity, flow, spacing);
29 lut = LUT.getContrastLut(bias);
30 }
31 }