net.sourceforge.plantuml.ugraphic
Class UClip
java.lang.Object
net.sourceforge.plantuml.ugraphic.UClip
public class UClip
- extends Object
Constructor Summary |
UClip(double x,
double y,
double width,
double height)
|
UClip
public UClip(double x,
double y,
double width,
double height)
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.