org.formaria.swing.painter
Class FlarePainter

java.lang.Object
  extended by org.formaria.swing.painter.GradientBackground
      extended by org.formaria.swing.painter.FlarePainter
All Implemented Interfaces:
TitlePainter

public class FlarePainter
extends GradientBackground

Paints a background with a radial gradient

Copyright (c) Formaria Ltd., 2008

License: see license.txt

$Revision: 1.1 $


Field Summary
protected  float offsetX
           
protected  float offsetY
           
 
Fields inherited from class org.formaria.swing.painter.GradientBackground
blend, currentProject, title, titleColor, titleFont, titleHeight, titlePos, titleTextColor
 
Fields inherited from interface org.formaria.swing.painter.TitlePainter
BOTTOM, LEFT, RIGHT, TOP
 
Constructor Summary
FlarePainter()
           
 
Method Summary
protected  java.awt.Paint getBackgroundPaint(float x, float y, java.awt.Color start, float wScreen, float hScreen, java.awt.Color end)
          Get the paint operation for the background
 
Methods inherited from class org.formaria.swing.painter.GradientBackground
getBackgroundPaint, paint, paint, paintBackground, paintExtras, setBlend, setTitle, setTitleColor, setTitleFont, setTitlePosition, setTitleTextColor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

offsetX

protected float offsetX

offsetY

protected float offsetY
Constructor Detail

FlarePainter

public FlarePainter()
Method Detail

getBackgroundPaint

protected java.awt.Paint getBackgroundPaint(float x,
                                            float y,
                                            java.awt.Color start,
                                            float wScreen,
                                            float hScreen,
                                            java.awt.Color end)
Get the paint operation for the background

Parameters:
x - starting x position
y - starting y position
start - the starting color
wScreen - the width
hScreen - the height
end - the ending color
Returns:
the paint operation