Class SpecularRectangularFillPainter.ShineContext
- java.lang.Object
-
- org.pushingpixels.radiance.theming.api.painter.fill.SpecularRectangularFillPainter.ShineContext
-
- All Implemented Interfaces:
java.awt.CompositeContext
- Enclosing class:
- SpecularRectangularFillPainter
private final class SpecularRectangularFillPainter.ShineContext extends java.lang.Object implements java.awt.CompositeContext
This class is based on Romain Guy's work from http://www.jroller.com/gfx/entry/new_blendings_modes_for_java2d available under BSD license.
-
-
Field Summary
Fields Modifier and Type Field Description private float
alpha
private SpecularRectangularFillPainter.Shine
shine
-
Constructor Summary
Constructors Constructor Description ShineContext(SpecularRectangularFillPainter.Shine shine, float alpha)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
compose(java.awt.image.Raster src, java.awt.image.Raster dstIn, java.awt.image.WritableRaster dstOut)
void
dispose()
-
-
-
Field Detail
-
shine
private SpecularRectangularFillPainter.Shine shine
-
alpha
private float alpha
-
-
Constructor Detail
-
ShineContext
public ShineContext(SpecularRectangularFillPainter.Shine shine, float alpha)
-
-