Class ClipRectangle


  • public final class ClipRectangle
    extends java.lang.Object
    Area against which objects' rendering will be clipped. This class is immutable.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      double xMax  
      double xMin  
      double yMax  
      double yMin  
    • Constructor Summary

      Constructors 
      Constructor Description
      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
      • yMin

        public final double yMin
      • xMax

        public final double xMax
      • yMax

        public final double yMax
    • Constructor Detail

      • ClipRectangle

        public ClipRectangle​(double xMin,
                             double yMin,
                             double xMax,
                             double yMax)
        Throws:
        java.lang.IllegalArgumentException - if xMin is greater than xMax or if yMin is greater than yMax.