net.sourceforge.plantuml.ugraphic
Class UClip
java.lang.Object
net.sourceforge.plantuml.ugraphic.UClip
- All Implemented Interfaces:
- UChange
public class UClip
- extends Object
- implements UChange
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)
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(double xp,
double yp)
getClippedRectangle
public Rectangle2D.Double getClippedRectangle(Rectangle2D.Double r)
getClippedLine
public Line2D.Double getClippedLine(Line2D.Double line)
Copyright © 2014. All Rights Reserved.