|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectblending.BlendingContext
blending.GrainMergeBlendingContext
public class GrainMergeBlendingContext
Grain Merge mode merges a grain layer into the current layer, leaving a grainy version of the original layer. It adds the pixel values of the upper and lower layers together and subtracts 128.
The equation is: R = B + T - 128
| Constructor Summary | |
|---|---|
GrainMergeBlendingContext()
|
|
| Method Summary | |
|---|---|
int[] |
applyBlending(int[] srcPixel,
int[] dstPixel)
|
| Methods inherited from class blending.BlendingContext |
|---|
compose, dispose |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GrainMergeBlendingContext()
| Method Detail |
|---|
public int[] applyBlending(int[] srcPixel,
int[] dstPixel)
applyBlending in class BlendingContext
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||