Package net.sourceforge.plantuml.klimt
Class UClip
- java.lang.Object
-
- net.sourceforge.plantuml.klimt.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 UClipenlarge(double delta)java.awt.geom.Line2D.DoublegetClippedLine(java.awt.geom.Line2D.Double line)java.awt.geom.Rectangle2D.DoublegetClippedRectangle(java.awt.geom.Rectangle2D.Double r)doublegetHeight()doublegetWidth()doublegetX()doublegetY()booleanisInside(double xp, double yp)booleanisInside(double x, double y, UPath shape)booleanisInside(XPoint2D pt)java.lang.StringtoString()UCliptranslate(double dx, double dy)UCliptranslate(UTranslate translate)
-
-
-
Method Detail
-
enlarge
public UClip enlarge(double delta)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.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(XPoint2D 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)
-
-