org.nuxeo.ecm.platform.pictures.tiles.gwt.client.util
Class Rectangle
java.lang.Object
org.nuxeo.ecm.platform.pictures.tiles.gwt.client.util.Rectangle
public class Rectangle
- extends java.lang.Object
- Author:
- Thomas Roger
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Rectangle
public Rectangle()
Rectangle
public Rectangle(Point topLeft,
int width,
int height)
move
public void move(int x,
int y)
setLocation
public void setLocation(int x,
int y)
centerOn
public void centerOn(int x,
int y)
getTopLeft
public Point getTopLeft()
- Returns:
- the topLeft.
getWidth
public int getWidth()
getHeight
public int getHeight()
getCenter
public Point getCenter()
contains
public boolean contains(Point p)
containsAny
public boolean containsAny(Point... points)
containsAny
public boolean containsAny(java.util.List<Point> points)
containsAll
public boolean containsAll(Point... points)
containsAll
public boolean containsAll(java.util.List<Point> points)
Copyright © 2010 Nuxeo SAS. All Rights Reserved.