net.sourceforge.plantuml.ugraphic
Class UClip

java.lang.Object
  extended by net.sourceforge.plantuml.ugraphic.UClip

public class UClip
extends Object


Constructor Summary
UClip(double x, double y, double width, double height)
           
 
Method Summary
 Line2D.Double getClippedLine(Line2D.Double line)
           
 Rectangle2D.Double getClippedRectangle(Rectangle2D.Double r)
           
 double getHeight()
           
 double getWidth()
           
 double getX()
           
 double getY()
           
 boolean isInside(double xp, double yp)
           
 String toString()
           
 UClip translate(double dx, double dy)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UClip

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

toString

public String toString()
Overrides:
toString in class 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(double xp,
                        double yp)

getClippedRectangle

public Rectangle2D.Double getClippedRectangle(Rectangle2D.Double r)

getClippedLine

public Line2D.Double getClippedLine(Line2D.Double line)


Copyright © 2011. All Rights Reserved.