org.japura.gui.renderer
Class ColoredHorizontalLine
java.lang.Object
org.japura.gui.renderer.ColoredHorizontalLine
- All Implemented Interfaces:
- HorizontalLineRenderer
public class ColoredHorizontalLine
- extends java.lang.Object
- implements HorizontalLineRenderer
Copyright (C) 2010 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
|
Method Summary |
void |
drawLine(java.awt.Graphics2D g2d,
int x1,
int x2,
int y)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ColoredHorizontalLine
public ColoredHorizontalLine(java.awt.Color color,
int thickness)
drawLine
public void drawLine(java.awt.Graphics2D g2d,
int x1,
int x2,
int y)
- Specified by:
drawLine in interface HorizontalLineRenderer