|
TPTP 4.6.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.brushes.internal.ImageBrush
org.eclipse.tptp.platform.report.birt).
public class ImageBrush
Brush which generate point color from an image. Require an image with implemented getPoint() to works...
FilteredImageBrush| Field Summary | |
|---|---|
protected IGCDirect |
gd_
Deprecated. |
protected int |
ih_
Deprecated. |
protected IImage |
image_
Deprecated. |
protected int |
iw_
Deprecated. |
protected boolean |
tile_
Deprecated. |
protected int |
zx_
Deprecated. |
protected int |
zy_
Deprecated. |
| Constructor Summary | |
|---|---|
ImageBrush(IImage image,
int x,
int y,
boolean tile)
Deprecated. Create a brush image. |
|
ImageBrush(ImageBrush b)
Deprecated. Copy brush, image is shared. |
|
| Method Summary | |
|---|---|
void |
brushBegin(IGC gc,
IGCDirect gd)
Deprecated. Start the filling of a shape. |
void |
brushEnd()
Deprecated. End a filling of a shape or line drawing. |
IBrush |
copyBrush()
Deprecated. |
int |
getBrushColor(int x,
int y,
int curr_rgba)
Deprecated. Brush's RGBA color choice for pixel at location x,y, this pixel have currently the RGBA color curr_rgba. |
int |
getX()
Deprecated. |
int |
getY()
Deprecated. |
boolean |
isTiled()
Deprecated. |
void |
setOrigin(int x,
int y)
Deprecated. change origin of image in pixel coordinates |
void |
setTile(boolean b)
Deprecated. Change tile property of brush |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected IImage image_
protected int zx_
protected int zy_
protected boolean tile_
protected IGCDirect gd_
protected int iw_
protected int ih_
| Constructor Detail |
|---|
public ImageBrush(IImage image,
int x,
int y,
boolean tile)
image - Image to use for filling shapes.x - image origin in pixel coordinatesy - image origin in pixel coordinatestile - true if image is repeated, otherwise generate transparent color.public ImageBrush(ImageBrush b)
b - brush to copy.| Method Detail |
|---|
public boolean isTiled()
public void setTile(boolean b)
public int getX()
public int getY()
public void setOrigin(int x,
int y)
public IBrush copyBrush()
copyBrush in interface IBrush
public int getBrushColor(int x,
int y,
int curr_rgba)
IBrush
getBrushColor in interface IBrushx - x coordinate of point in device coordinate.y - y coordinate of point in device coordinate.curr_rgba - current color of point (x,y) in render.
public void brushBegin(IGC gc,
IGCDirect gd)
IBrush
brushBegin in interface IBrushgc - IGC which request the brush filling.gd - IGCDirect the brush can use to convert data to device coordinates.public void brushEnd()
IBrush
brushEnd in interface IBrush
|
TPTP 4.6.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||