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  

    Fields inherited from interface java.awt.Transparency

    BITMASK, OPAQUE, TRANSLUCENT
  • 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()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • 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 interface java.awt.Paint
    • getTransparency

      public int getTransparency()
      Specified by:
      getTransparency in interface java.awt.Transparency