|
TPTP 4.5.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.tptp.platform.report.igc.util.internal.Rect
org.eclipse.tptp.platform.report.birt).
public class Rect
Implementation of an IRect, with lots of
| Field Summary | |
|---|---|
protected int |
dx_
Deprecated. |
protected int |
dX_
Deprecated. |
protected int |
dy_
Deprecated. |
protected int |
dY_
Deprecated. |
protected int |
h_
Deprecated. |
protected int |
pe_
Deprecated. |
protected Segment |
segment_
Deprecated. |
protected int |
w_
Deprecated. |
protected int |
x_
Deprecated. |
protected int |
y_
Deprecated. |
| Constructor Summary | |
|---|---|
Rect()
Deprecated. Create 0,0,0,0 rectagle |
|
Rect(int _x,
int _y,
int _w,
int _h)
Deprecated. Create a rectangle |
|
Rect(IRect _r)
Deprecated. Create a rectangle copying value |
|
Rect(IRect _r,
int _grow)
Deprecated. Create a rectangle copying value from given one and applying grow() on bounds |
|
| Method Summary | |
|---|---|
int |
bottom()
Deprecated. |
static int |
Bottom(IRect r)
Deprecated. |
Point |
center()
Deprecated. |
int |
centerX()
Deprecated. |
static int |
CenterX(IRect r)
Deprecated. |
int |
centerY()
Deprecated. |
static int |
CenterY(IRect r)
Deprecated. |
boolean |
contains(int _px,
int _py)
Deprecated. |
static boolean |
Contains(int _lx,
int _ty,
int _w,
int _h,
int _px,
int _py)
Deprecated. |
boolean |
contains(IPoint _p)
Deprecated. |
static boolean |
Contains(IRect _r,
int _px,
int _py)
Deprecated. |
IShape |
copyShape()
Deprecated. |
boolean |
equals(java.lang.Object o)
Deprecated. |
IRect |
getBounds()
Deprecated. |
int |
getH()
Deprecated. |
int |
getW()
Deprecated. |
int |
getX()
Deprecated. |
int |
getY()
Deprecated. |
void |
grow(int _amount)
Deprecated. change all bounds using same amount, positive value make bigger rectangle |
int |
h()
Deprecated. |
static Rect |
Intersection(int x1,
int y1,
int w1,
int h1,
int x2,
int y2,
int w2,
int h2)
Deprecated. |
Rect |
intersection(IRect _r)
Deprecated. Setup this rect with the intersection area of this and parameter. |
static Rect |
Intersection(Rect _r1,
Rect _r2)
Deprecated. |
int |
left()
Deprecated. |
static int |
Left(IRect r)
Deprecated. |
void |
moveBy(int _dx,
int _dy)
Deprecated. Move rectangle by delta |
void |
moveCenter(int _cx,
int _cy)
Deprecated. Move center of rectangle to given position |
void |
moveCenter(IPoint _p)
Deprecated. Move center of rectangle to given position |
void |
moveTo(int _x,
int _y)
Deprecated. Move rectangle to position |
IPathElement |
nextPathElement()
Deprecated. |
Rect |
normalize()
Deprecated. Normalize rectangle, set width and height >=0. |
boolean |
pathBegin(IGC gc,
IGCDirect gd)
Deprecated. |
void |
pathEnd()
Deprecated. Called to end the path, time to release any gc, gd memorized... |
int |
right()
Deprecated. |
static int |
Right(IRect r)
Deprecated. |
void |
setBottom(int _b)
Deprecated. Change bottom side of the rectangle, top is not affected, may change height |
void |
setHeight(int _h)
Deprecated. Change height of the rectangle |
void |
setLeft(int _l)
Deprecated. Change left side of the rectangle, right side is not affected, may change width. |
void |
setLocation(int _x,
int _y)
Deprecated. Change x and y value of rectangle |
void |
setLocation(IPoint _p)
Deprecated. change x and y value of rectangle using swt's point |
void |
setRect(int _x,
int _y,
int _w,
int _h)
Deprecated. Change rectangle values |
void |
setRect(IRect _r)
Deprecated. Change rectangle values |
void |
setRect(IRect _r,
int _grow)
Deprecated. Copy rectangle from given one and change bounds using grow() |
void |
setRight(int _r)
Deprecated. Change right side of the rectangle, left side is not affected, may change width. |
void |
setSize(int _w,
int _h)
Deprecated. Change width and height of the rectangle |
void |
setSize(IPoint _size)
Deprecated. Change width and height of the rectangle using swt's Point. |
void |
setSize(ISize _size)
Deprecated. |
void |
setTop(int _t)
Deprecated. Change top side of the rectangle, bottom is not affected, mau change height |
void |
setWidth(int _w)
Deprecated. Change width of the rectangle |
void |
setX(int _x)
Deprecated. Change x value of rectangle |
void |
setY(int _y)
Deprecated. Change y value of rectangle |
void |
shrink(int _amount)
Deprecated. change all bounds using same amount, positive value make smaller rectangle |
int |
top()
Deprecated. |
static int |
Top(IRect r)
Deprecated. |
java.lang.String |
toString()
Deprecated. return rectangle as "X,Y,WxH" |
Rect |
union(IRect _r)
Deprecated. Setup this rect with the union of this and parameter. |
static Rect |
Union(Rect _r1,
Rect _r2)
Deprecated. |
int |
w()
Deprecated. |
int |
x()
Deprecated. |
int |
y()
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected int x_
protected int y_
protected int w_
protected int h_
protected int dx_
protected int dy_
protected int dX_
protected int dY_
protected int pe_
protected Segment segment_
| Constructor Detail |
|---|
public Rect()
public Rect(int _x,
int _y,
int _w,
int _h)
public Rect(IRect _r)
public Rect(IRect _r,
int _grow)
| Method Detail |
|---|
public IRect getBounds()
getBounds in interface IShapepublic IShape copyShape()
copyShape in interface IShapepublic int x()
public int y()
public int w()
public int h()
public int getX()
getX in interface IRectpublic int getY()
getY in interface IRectpublic int getW()
getW in interface IRectpublic int getH()
getH in interface IRectpublic int left()
public int right()
public int top()
public int bottom()
public Point center()
public int centerX()
public int centerY()
public void setX(int _x)
public void setY(int _y)
public void setWidth(int _w)
public void setHeight(int _h)
public void setSize(int _w,
int _h)
public final void setSize(IPoint _size)
public final void setSize(ISize _size)
public void setLocation(int _x,
int _y)
public final void setLocation(IPoint _p)
public void setLeft(int _l)
public void setRight(int _r)
public void setTop(int _t)
public void setBottom(int _b)
public void grow(int _amount)
public void shrink(int _amount)
public static boolean Contains(int _lx,
int _ty,
int _w,
int _h,
int _px,
int _py)
public static boolean Contains(IRect _r,
int _px,
int _py)
public boolean contains(int _px,
int _py)
contains in interface IShapepublic final boolean contains(IPoint _p)
contains in interface IShapecontains(int, int)
public void setRect(int _x,
int _y,
int _w,
int _h)
public void setRect(IRect _r)
public void setRect(IRect _r,
int _grow)
public Rect normalize()
public void moveTo(int _x,
int _y)
public void moveBy(int _dx,
int _dy)
public void moveCenter(int _cx,
int _cy)
public final void moveCenter(IPoint _p)
public Rect intersection(IRect _r)
public Rect union(IRect _r)
public static Rect Intersection(Rect _r1,
Rect _r2)
public static Rect Intersection(int x1,
int y1,
int w1,
int h1,
int x2,
int y2,
int w2,
int h2)
public static Rect Union(Rect _r1,
Rect _r2)
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Object
public boolean pathBegin(IGC gc,
IGCDirect gd)
pathBegin in interface IPathpublic void pathEnd()
IPath
pathEnd in interface IPathpublic IPathElement nextPathElement()
nextPathElement in interface IPathpublic static int CenterX(IRect r)
public static int CenterY(IRect r)
public static int Right(IRect r)
public static int Left(IRect r)
public static int Top(IRect r)
public static int Bottom(IRect r)
|
TPTP 4.5.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||