Class UClip

  • All Implemented Interfaces:
    UChange

    public class UClip
    extends java.lang.Object
    implements UChange
    • Constructor Summary

      Constructors 
      Constructor Description
      UClip​(double x, double y, double width, double height)  
    • Constructor Detail

      • UClip

        public UClip​(double x,
                     double y,
                     double width,
                     double height)
    • Method Detail

      • enlarge

        public UClip enlarge​(double delta)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • translate

        public UClip translate​(double dx,
                               double dy)
      • getX

        public final double getX()
      • getY

        public final double getY()
      • getWidth

        public final double getWidth()
      • getHeight

        public final double getHeight()
      • isInside

        public boolean isInside​(java.awt.geom.Point2D pt)
      • isInside

        public boolean isInside​(double xp,
                                double yp)
      • getClippedRectangle

        public java.awt.geom.Rectangle2D.Double getClippedRectangle​(java.awt.geom.Rectangle2D.Double r)
      • getClippedLine

        public java.awt.geom.Line2D.Double getClippedLine​(java.awt.geom.Line2D.Double line)
      • isInside

        public boolean isInside​(double x,
                                double y,
                                UPath shape)