org.knime.base.node.viz.plotter.basic
Class BasicRectangle
java.lang.Object
org.knime.base.node.viz.plotter.basic.BasicDrawingElement
org.knime.base.node.viz.plotter.basic.Basic2DDrawingElement
org.knime.base.node.viz.plotter.basic.BasicRectangle
public class BasicRectangle
- extends Basic2DDrawingElement
Represents a rectangle which is defined by two points, the upper-left
and the lower-right corner as known from Java Graphics.
- Author:
- Fabian Dill, University of Konstanz
Method Summary |
void |
paint(Graphics2D g2)
Paints a rectangle defined by two points, the upper-left and lower-right
corner. |
Methods inherited from class org.knime.base.node.viz.plotter.basic.BasicDrawingElement |
addDomainValue, addPoint, getColor, getDomainValues, getPoints, getStroke, setColor, setDomainValues, setDomainValues, setPoints, setPoints, setStroke |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicRectangle
public BasicRectangle(boolean filled)
- Parameters:
filled
- if the rectangle should be filled.
paint
public void paint(Graphics2D g2)
- Paints a rectangle defined by two points, the upper-left and lower-right
corner.
- Specified by:
paint
in class Basic2DDrawingElement
- Parameters:
g2
- the graphics object- See Also:
BasicDrawingElement.paint(
java.awt.Graphics2D)
Copyright, 2003 - 2010. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display,
or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the
copyright owner or as specified in the license file distributed with this product.