java.lang.Object
org.apache.batik.svggen.NegativeLengths
- All Implemented Interfaces:
- Painter
- public class NegativeLengths
- extends java.lang.Object
- implements Painter
This test validates the convertion of Java 2D negative length values:
- On rectangles: a negative width or height makes the rectangle invisible.
- On rounded rectangles: a negative width or height makes the rectangle invisible.
- On ellipses: a negative width or height makes the ellipse invisible
- On 3D rect: a negative width *and* height makes the rectangle invisible. A
negative width or height makes the rectangle display as a line.
The above behavior is that of the default Graphics2D implementations.
- Version:
- $Id: NegativeLengths.java,v 1.5 2004/08/18 07:16:45 vhardy Exp $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NegativeLengths
public NegativeLengths()
paint
public void paint(java.awt.Graphics2D g)
- Specified by:
paint in interface Painter