com.nerius.grafx
Class ClipRectangle

java.lang.Object
  extended by com.nerius.grafx.ClipRectangle

public final class ClipRectangle
extends java.lang.Object

Area against which objects' rendering will be clipped. This class is immutable.


Field Summary
 double xMax
           
 double xMin
           
 double yMax
           
 double yMin
           
 
Constructor Summary
ClipRectangle(double xMin, double yMin, double xMax, double yMax)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

xMin

public final double xMin

xMax

public final double xMax

yMin

public final double yMin

yMax

public final double yMax
Constructor Detail

ClipRectangle

public ClipRectangle(double xMin,
                     double yMin,
                     double xMax,
                     double yMax)
              throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException - if xMin > xMax or yMin > yMax.