Class UClip

java.lang.Object
net.sourceforge.plantuml.ugraphic.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)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    enlarge(double delta)
     
    java.awt.geom.Line2D.Double
    getClippedLine(java.awt.geom.Line2D.Double line)
     
    java.awt.geom.Rectangle2D.Double
    getClippedRectangle(java.awt.geom.Rectangle2D.Double r)
     
    final double
     
    final double
     
    final double
     
    final double
     
    boolean
    isInside(double xp, double yp)
     
    boolean
    isInside(double x, double y, UPath shape)
     
    boolean
    isInside(java.awt.geom.Point2D pt)
     
    java.lang.String
     
    translate(double dx, double dy)
     
    translate(UTranslate translate)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • UClip

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

    • 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)
    • translate

      public UClip translate(UTranslate translate)
    • 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)