Constructor and Description |
---|
UClip(double x,
double y,
double width,
double height) |
Modifier and Type | Method and Description |
---|---|
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(Point2D pt) |
String |
toString() |
UClip |
translate(double dx,
double dy) |
UClip |
translate(UTranslate translate) |
public UClip translate(double dx, double dy)
public UClip translate(UTranslate translate)
public final double getX()
public final double getY()
public final double getWidth()
public final double getHeight()
public boolean isInside(Point2D pt)
public boolean isInside(double xp, double yp)
public Rectangle2D.Double getClippedRectangle(Rectangle2D.Double r)
public Line2D.Double getClippedLine(Line2D.Double line)
public boolean isInside(double x, double y, UPath shape)
Copyright © 2017. All Rights Reserved.