org.knime.base.node.viz.plotter.basic
Class BasicEllipse

java.lang.Object
  extended by org.knime.base.node.viz.plotter.basic.BasicDrawingElement
      extended by org.knime.base.node.viz.plotter.basic.Basic2DDrawingElement
          extended by org.knime.base.node.viz.plotter.basic.BasicEllipse

public class BasicEllipse
extends Basic2DDrawingElement

Represents an ellipse defined by two points, the lower-left and the upper-right corner, different from normal Java graphics behavior!

Author:
Fabian Dill, University of Konstanz

Constructor Summary
BasicEllipse(boolean filled)
           
 
Method Summary
 void paint(Graphics2D g2)
          Paints and ellipse that it fills a rectangle defined by two points: the lower-left and the upper -right corner.
 
Methods inherited from class org.knime.base.node.viz.plotter.basic.Basic2DDrawingElement
isFilled
 
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
 

Constructor Detail

BasicEllipse

public BasicEllipse(boolean filled)
Parameters:
filled - true if the ellipse should be filled.
Method Detail

paint

public void paint(Graphics2D g2)
Paints and ellipse that it fills a rectangle defined by two points: the lower-left and the upper -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.