|
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.brushes.internal.FilterBrush
org.eclipse.tptp.platform.report.birt).
public class FilterBrush
Apply RGBA filter on color returned by any brush. This is an example of brush combining. This can be used to add transparency value to another brush if filter color is white with expected transparency.
IBrush.| Field Summary | |
|---|---|
protected IBrush |
brush_
Deprecated. brush to apply filtering |
protected int |
filter_rgba_
Deprecated. filtering RGBA color |
protected int |
ga_
Deprecated. |
protected int |
gb_
Deprecated. |
protected int |
gg_
Deprecated. |
protected int |
gr_
Deprecated. |
| Constructor Summary | |
|---|---|
FilterBrush(FilterBrush b)
Deprecated. Copy brush, image is shared. |
|
FilterBrush(IBrush brush,
int rgba_filter)
Deprecated. Create a brush image. |
|
| 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. |
IBrush |
getBrush()
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 |
getFilter()
Deprecated. |
void |
setBrush(IBrush b)
Deprecated. Change brush used |
void |
setFilter(int filter_rgba)
Deprecated. Change general alpha value applied on image |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected IBrush brush_
protected int filter_rgba_
protected int gr_
protected int gg_
protected int gb_
protected int ga_
| Constructor Detail |
|---|
public FilterBrush(IBrush brush,
int rgba_filter)
brush - brush used to get color before aplying filter.rgba_filter - general filter color applied on image (including transparency)public FilterBrush(FilterBrush b)
b - brush to copy.| Method Detail |
|---|
public IBrush getBrush()
public void setBrush(IBrush b)
public int getFilter()
public void setFilter(int filter_rgba)
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.5.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||