wx
Class Rect
java.lang.Object
wx.Rect
- public class Rect
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Rect
public Rect()
Rect
public Rect(int xx,
int yy,
int ww,
int hh)
Rect
public Rect(Point topLeft,
Point bottomRight)
Rect
public Rect(Point pt,
Size size)
Rect
public Rect(Size size)
delete
public void delete()
getX
public int getX()
setX
public void setX(int xx)
getY
public int getY()
setY
public void setY(int yy)
getWidth
public int getWidth()
setWidth
public void setWidth(int w)
getHeight
public int getHeight()
setHeight
public void setHeight(int h)
getPosition
public Point getPosition()
setPosition
public void setPosition(Point p)
getSize
public Size getSize()
setSize
public void setSize(Size s)
isEmpty
public boolean isEmpty()
getTopLeft
public Point getTopLeft()
getLeftTop
public Point getLeftTop()
setTopLeft
public void setTopLeft(Point p)
setLeftTop
public void setLeftTop(Point p)
getBottomRight
public Point getBottomRight()
getRightBottom
public Point getRightBottom()
setBottomRight
public void setBottomRight(Point p)
setRightBottom
public void setRightBottom(Point p)
getLeft
public int getLeft()
getTop
public int getTop()
getBottom
public int getBottom()
getRight
public int getRight()
setLeft
public void setLeft(int left)
setRight
public void setRight(int right)
setTop
public void setTop(int top)
setBottom
public void setBottom(int bottom)
inflate
public Rect inflate(int dx,
int dy)
inflate
public Rect inflate(int d)
deflate
public Rect deflate(int dx,
int dy)
deflate
public Rect deflate(int d)
offset
public void offset(int dx,
int dy)
offset
public void offset(Point pt)
intersect
public Rect intersect(Rect rect)
union
public Rect union(Rect rect)
inside
public boolean inside(int x,
int y)
inside
public boolean inside(Point pt)
intersects
public boolean intersects(Rect rect)
© 2006 Amit G Mendapara.