| com.xoetrope.swing.painter.XBandPainter
XBandPainter | public class XBandPainter extends XGradientBackground (Code) | | Paints a set of coloured gradients in horizontal bands
Copyright (c) Xoetrope Ltd., 2001-2006, This software is licensed under
the GNU Public License (GPL), please see license.txt for more details. If
you make commercial use of this software you must purchase a commercial
license from Xoetrope.
$Revision: 1.3 $
|
numBands | protected int numBands(Code) | | |
paintBackground | protected void paintBackground(Graphics2D g2, float w, float h, float wScreen, float hScreen, Color start, Color end)(Code) | | Paint an area of the background
Parameters: g2 - the graphics context Parameters: w - the width coordinate Parameters: h - the height coordinate Parameters: wScreen - the width of the gradient Parameters: h - the height of the gradient Parameters: start - the start color Parameters: end - the end color |
|
|