Class UClip
- java.lang.Object
-
- net.sourceforge.plantuml.ugraphic.UClip
-
-
Constructor Summary
Constructors Constructor Description UClip(double x, double y, double width, double height)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UClip
enlarge(double delta)
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)
boolean
isInside(double x, double y, UPath shape)
boolean
isInside(XPoint2D pt)
String
toString()
UClip
translate(double dx, double dy)
UClip
translate(UTranslate translate)
-
-
-
Method Detail
-
enlarge
public UClip enlarge(double delta)
-
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(XPoint2D pt)
-
isInside
public boolean isInside(double xp, double yp)
-
getClippedRectangle
public Rectangle2D.Double getClippedRectangle(Rectangle2D.Double r)
-
getClippedLine
public Line2D.Double getClippedLine(Line2D.Double line)
-
isInside
public boolean isInside(double x, double y, UPath shape)
-
-