Class SpecularRectangularSurfacePainter.ShineContext
- java.lang.Object
-
- org.pushingpixels.radiance.theming.api.painter.surface.SpecularRectangularSurfacePainter.ShineContext
-
- All Implemented Interfaces:
java.awt.CompositeContext
- Enclosing class:
- SpecularRectangularSurfacePainter
private final class SpecularRectangularSurfacePainter.ShineContext extends java.lang.Object implements java.awt.CompositeContextThis 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 floatalphaprivate SpecularRectangularSurfacePainter.Shineshine
-
Constructor Summary
Constructors Constructor Description ShineContext(SpecularRectangularSurfacePainter.Shine shine, float alpha)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcompose(java.awt.image.Raster src, java.awt.image.Raster dstIn, java.awt.image.WritableRaster dstOut)voiddispose()
-
-
-
Field Detail
-
shine
private SpecularRectangularSurfacePainter.Shine shine
-
alpha
private float alpha
-
-
Constructor Detail
-
ShineContext
public ShineContext(SpecularRectangularSurfacePainter.Shine shine, float alpha)
-
-