Lines Matching refs:BlendComposite
33 public final class BlendComposite implements Composite {
69 public static final BlendComposite Normal = new BlendComposite(BlendingMode.NORMAL);
70 public static final BlendComposite Average = new BlendComposite(BlendingMode.AVERAGE);
71 public static final BlendComposite Multiply = new BlendComposite(BlendingMode.MULTIPLY);
72 public static final BlendComposite Screen = new BlendComposite(BlendingMode.SCREEN);
73 public static final BlendComposite Darken = new BlendComposite(BlendingMode.DARKEN);
74 public static final BlendComposite Lighten = new BlendComposite(BlendingMode.LIGHTEN);
75 public static final BlendComposite Overlay = new BlendComposite(BlendingMode.OVERLAY);
76 public static final BlendComposite HardLight = new BlendComposite(BlendingMode.HARD_LIGHT);
77 public static final BlendComposite SoftLight = new BlendComposite(BlendingMode.SOFT_LIGHT);
78 public static final BlendComposite Difference = new BlendComposite(BlendingMode.DIFFERENCE);
79 public static final BlendComposite Negation = new BlendComposite(BlendingMode.NEGATION);
80 public static final BlendComposite Exclusion = new BlendComposite(BlendingMode.EXCLUSION);
81 public static final BlendComposite ColorDodge = new BlendComposite(BlendingMode.COLOR_DODGE);
82 public static final BlendComposite InverseColorDodge = new BlendComposite(BlendingMode.INVERSE_COLOR_DODGE);
83 public static final BlendComposite SoftDodge = new BlendComposite(BlendingMode.SOFT_DODGE);
84 public static final BlendComposite ColorBurn = new BlendComposite(BlendingMode.COLOR_BURN);
85 public static final BlendComposite InverseColorBurn = new BlendComposite(BlendingMode.INVERSE_COLOR_BURN);
86 public static final BlendComposite SoftBurn = new BlendComposite(BlendingMode.SOFT_BURN);
87 public static final BlendComposite Reflect = new BlendComposite(BlendingMode.REFLECT);
88 public static final BlendComposite Glow = new BlendComposite(BlendingMode.GLOW);
89 public static final BlendComposite Freeze = new BlendComposite(BlendingMode.FREEZE);
90 public static final BlendComposite Heat = new BlendComposite(BlendingMode.HEAT);
91 public static final BlendComposite Add = new BlendComposite(BlendingMode.ADD);
92 public static final BlendComposite Subtract = new BlendComposite(BlendingMode.SUBTRACT);
93 public static final BlendComposite Stamp = new BlendComposite(BlendingMode.STAMP);
94 public static final BlendComposite Red = new BlendComposite(BlendingMode.RED);
95 public static final BlendComposite Green = new BlendComposite(BlendingMode.GREEN);
96 public static final BlendComposite Blue = new BlendComposite(BlendingMode.BLUE);
97 public static final BlendComposite Hue = new BlendComposite(BlendingMode.HUE);
98 public static final BlendComposite Saturation = new BlendComposite(BlendingMode.SATURATION);
99 public static final BlendComposite Color = new BlendComposite(BlendingMode.COLOR);
100 public static final BlendComposite Luminosity = new BlendComposite(BlendingMode.LUMINOSITY);
105 private BlendComposite(BlendingMode mode) {
109 private BlendComposite(BlendingMode mode, float alpha) {
114 public static BlendComposite getInstance(BlendingMode mode) {
115 return new BlendComposite(mode);
118 public static BlendComposite getInstance(BlendingMode mode, float alpha) {
119 return new BlendComposite(mode, alpha);
122 public BlendComposite derive(BlendingMode mode) {
123 return this.mode == mode ? this : new BlendComposite(mode, getAlpha());
126 public BlendComposite derive(float alpha) {
127 return this.alpha == alpha ? this : new BlendComposite(getMode(), alpha);
154 if (!(obj instanceof BlendComposite)) {
158 BlendComposite bc = (BlendComposite) obj;
175 private final BlendComposite composite;
177 private BlendingContext(BlendComposite composite) {
356 public static Blender getBlenderFor(BlendComposite composite) {