Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.batik.svggen
Class NegativeLengths  view NegativeLengths download NegativeLengths.java

java.lang.Object
  extended byorg.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 $

Constructor Summary
NegativeLengths()
           
 
Method Summary
 void paint(java.awt.Graphics2D g)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NegativeLengths

public NegativeLengths()
Method Detail

paint

public void paint(java.awt.Graphics2D g)
Specified by:
paint in interface Painter