Class MaskComposite
- java.lang.Object
-
- ca.cgjennings.graphics.composites.AbstractARGBComposite
-
- ca.cgjennings.graphics.composites.BlendMode
-
- ca.cgjennings.graphics.composites.MaskComposite
-
- All Implemented Interfaces:
java.awt.Composite
public class MaskComposite extends BlendMode
Blends the source into the destination using both an overall and per-channel alpha values.- Author:
- Chris Jennings
-
-
Field Summary
-
Fields inherited from class ca.cgjennings.graphics.composites.BlendMode
Add, Burn, Color, ColorBurn, ColorDodge, Darken, Difference, Dodge, Exclusion, Glow, HardLight, HardMix, Hue, Lighten, LinearBurn, LinearDodge, LinearLight, Luminosity, Multiply, Negation, Normal, Overlay, PinLight, Reflect, Saturation, Screen, SoftLight, Subtract, VividLight
-
Fields inherited from class ca.cgjennings.graphics.composites.AbstractARGBComposite
alpha
-
-
Constructor Summary
Constructors Constructor Description MaskComposite()
MaskComposite(float rAlpha, float gAlpha, float bAlpha)
MaskComposite(float rAlpha, float gAlpha, float bAlpha, float alpha)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractCompositeContext
createContext(java.awt.image.ColorModel srcColorModel, java.awt.image.ColorModel dstColorModel, java.awt.RenderingHints hints)
-
Methods inherited from class ca.cgjennings.graphics.composites.AbstractARGBComposite
compose, derive, getAlpha
-
-
-
-
Method Detail
-
createContext
public AbstractCompositeContext createContext(java.awt.image.ColorModel srcColorModel, java.awt.image.ColorModel dstColorModel, java.awt.RenderingHints hints)
- Specified by:
createContext
in interfacejava.awt.Composite
- Specified by:
createContext
in classAbstractARGBComposite
-
-