|
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.RoundedRect
org.eclipse.tptp.platform.report.birt).
public class RoundedRect
Example of "composite" path using circle/ellipse arc and segments. This Path is also not an IPathElement. But as it's a IShape it can be filled.
| Field Summary | |
|---|---|
protected org.eclipse.tptp.platform.report.igc.util.internal.RoundedRect.Data |
data_
Deprecated. |
protected int |
h_
Deprecated. |
protected int |
rx_
Deprecated. |
protected int |
ry_
Deprecated. |
protected int |
w_
Deprecated. |
protected int |
x_
Deprecated. |
protected int |
y_
Deprecated. |
| Constructor Summary | |
|---|---|
RoundedRect(int x,
int y,
int w,
int h,
int radius)
Deprecated. Create a RoundedRect using circle as corners |
|
RoundedRect(int x,
int y,
int w,
int h,
int rx,
int ry)
Deprecated. Create rounded rect with different X and Y axis radius for rounded corners. |
|
RoundedRect(IRect rect,
int radius)
Deprecated. Create a RoundedRect from a rectangle and a radius. |
|
RoundedRect(IRect rect,
int rx,
int ry)
Deprecated. Create rounded rect with different X and Y axis radius for rounded corners. |
|
RoundedRect(RoundedRect r)
Deprecated. Create a copy of a rounded rect. |
|
| Method Summary | |
|---|---|
boolean |
contains(int x,
int y)
Deprecated. |
boolean |
contains(IPoint p)
Deprecated. |
IShape |
copyShape()
Deprecated. |
boolean |
fillShape(IGC gc,
IGCDirect gd,
IBrush brush,
IShape shape)
Deprecated. fill given shape using brush (current brush in gc) using gc. |
IRect |
getBounds()
Deprecated. |
int |
getH()
Deprecated. |
int |
getRX()
Deprecated. |
int |
getRY()
Deprecated. |
int |
getW()
Deprecated. |
int |
getX()
Deprecated. |
int |
getY()
Deprecated. |
IPathElement |
nextPathElement()
Deprecated. |
boolean |
pathBegin(IGC gc,
IGCDirect gd)
Deprecated. |
void |
pathEnd()
Deprecated. Called to end the path, time to release any gc, gd memorized... |
void |
setRoundedRect(int x,
int y,
int w,
int h,
int radius)
Deprecated. |
void |
setRoundedRect(int x,
int y,
int w,
int h,
int rx,
int ry)
Deprecated. |
void |
setRoundedRect(IRect r,
int radius)
Deprecated. |
void |
setRoundedRect(IRect r,
int rx,
int ry)
Deprecated. |
void |
setRoundedRect(RoundedRect r)
Deprecated. |
void |
translate(int tx,
int ty)
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int x_
protected int y_
protected int w_
protected int h_
protected int rx_
protected int ry_
protected org.eclipse.tptp.platform.report.igc.util.internal.RoundedRect.Data data_
| Constructor Detail |
|---|
public RoundedRect(int x,
int y,
int w,
int h,
int radius)
public RoundedRect(IRect rect,
int radius)
public RoundedRect(int x,
int y,
int w,
int h,
int rx,
int ry)
public RoundedRect(IRect rect,
int rx,
int ry)
public RoundedRect(RoundedRect r)
r - rounded rect to copy.| Method Detail |
|---|
public void setRoundedRect(IRect r,
int radius)
public void setRoundedRect(IRect r,
int rx,
int ry)
public void setRoundedRect(int x,
int y,
int w,
int h,
int radius)
public void setRoundedRect(int x,
int y,
int w,
int h,
int rx,
int ry)
public void setRoundedRect(RoundedRect r)
public int getX()
public int getY()
public int getW()
public int getH()
public int getRX()
public int getRY()
public boolean pathBegin(IGC gc,
IGCDirect gd)
pathBegin in interface IPathpublic void pathEnd()
IPath
pathEnd in interface IPathpublic IPathElement nextPathElement()
nextPathElement in interface IPathpublic IShape copyShape()
copyShape in interface IShape
public boolean contains(int x,
int y)
contains in interface IShapepublic boolean contains(IPoint p)
contains in interface IShapepublic IRect getBounds()
getBounds in interface IShape
public boolean fillShape(IGC gc,
IGCDirect gd,
IBrush brush,
IShape shape)
IShapeFiller
fillShape in interface IShapeFillergc - gc which request the shape filling.gd - gd used to fill shape shape (but gc can be used too).brush - current gc brush used to fill shape.shape - shape to fill.
public void translate(int tx,
int ty)
|
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 | ||||||||