Package com.incors.plaf
Class FastGradientPaint
java.lang.Object
com.incors.plaf.FastGradientPaint
- All Implemented Interfaces:
java.awt.Paint
,java.awt.Transparency
public class FastGradientPaint
extends java.lang.Object
implements java.awt.Paint
-
Field Summary
Fields Modifier and Type Field Description (package private) int
endColor
(package private) boolean
isVertical
(package private) int
startColor
-
Constructor Summary
Constructors Constructor Description FastGradientPaint(java.awt.Color sc, java.awt.Color ec, boolean isV)
-
Method Summary
Modifier and Type Method Description java.awt.PaintContext
createContext(java.awt.image.ColorModel cm, java.awt.Rectangle r, java.awt.geom.Rectangle2D r2d, java.awt.geom.AffineTransform xform, java.awt.RenderingHints hints)
int
getTransparency()
-
Field Details
-
startColor
int startColor -
endColor
int endColor -
isVertical
boolean isVertical
-
-
Constructor Details
-
FastGradientPaint
public FastGradientPaint(java.awt.Color sc, java.awt.Color ec, boolean isV)
-
-
Method Details
-
createContext
public java.awt.PaintContext createContext(java.awt.image.ColorModel cm, java.awt.Rectangle r, java.awt.geom.Rectangle2D r2d, java.awt.geom.AffineTransform xform, java.awt.RenderingHints hints)- Specified by:
createContext
in interfacejava.awt.Paint
-
getTransparency
public int getTransparency()- Specified by:
getTransparency
in interfacejava.awt.Transparency
-