org.japura.gui
Class Gradient
java.lang.Object
org.japura.gui.Gradient
- All Implemented Interfaces:
- java.io.Serializable
public class Gradient
- extends java.lang.Object
- implements java.io.Serializable
Copyright (C) 2008-2011 Carlos Eduardo Leite de Andrade
This library is free software: you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any
later version.
This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
details.
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see www.gnu.org/licenses/
For more information, contact: www.japura.org
- Author:
- Carlos Eduardo Leite de Andrade
- See Also:
- Serialized Form
|
Constructor Summary |
Gradient(java.awt.Color firstColor,
java.awt.Color secondColor)
|
Gradient(Gradient.Direction direction,
java.awt.Color firstColor,
java.awt.Color secondColor)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LEFT_TO_RIGHT
public static final Gradient.Direction LEFT_TO_RIGHT
RIGHT_TO_LEFT
public static final Gradient.Direction RIGHT_TO_LEFT
TOP_TO_BOTTOM
public static final Gradient.Direction TOP_TO_BOTTOM
BOTTOM_TO_TOP
public static final Gradient.Direction BOTTOM_TO_TOP
Gradient
public Gradient(java.awt.Color firstColor,
java.awt.Color secondColor)
Gradient
public Gradient(Gradient.Direction direction,
java.awt.Color firstColor,
java.awt.Color secondColor)
getDirection
public Gradient.Direction getDirection()
getFirstColor
public java.awt.Color getFirstColor()
getSecondColor
public java.awt.Color getSecondColor()