|
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.LineStylePen
org.eclipse.tptp.platform.report.birt).
public class LineStylePen
Implements a IPen using RGBA color, line style and line width. IGC implementors could use pen's parameter and call directly graphics native methods. This pen provide also drawPath method, but this drawing is done using 1 pixel line width. (no support of other line width ).
| Field Summary | |
|---|---|
static int |
DASH
Deprecated. |
static int |
DASH_DOT
Deprecated. |
static int |
DASH_DOT_DOT
Deprecated. |
static int[] |
DEF_DASH
Deprecated. |
static int[] |
DEF_DASH_DOT
Deprecated. |
static int[] |
DEF_DASH_DOT_DOT
Deprecated. |
static int[] |
DEF_DOT
Deprecated. first byte is length of pattern in pixels, second one is 1 if pattern start drawing pixel, 0 if not, the following value are successive pixels count with same "drawing" property. |
static int[] |
DEF_PIXEL
Deprecated. |
static int |
DOT
Deprecated. |
protected IGC |
gc_
Deprecated. |
protected int |
line_style_
Deprecated. |
protected int |
line_width_
Deprecated. |
static int |
PIXEL
Deprecated. |
protected int |
rgba_
Deprecated. |
static int |
SOLID
Deprecated. |
| Constructor Summary | |
|---|---|
LineStylePen()
Deprecated. Create black solid pen with 0 pixel line width |
|
LineStylePen(int _rgba)
Deprecated. Create a SOLID pen with 0 line width and given RGBA color |
|
LineStylePen(int _rgba,
int line_style)
Deprecated. Create pen using RGBA color, line style and 0 (zero) line width |
|
LineStylePen(int _rgba,
int line_style,
int line_width)
Deprecated. Create pen using RGBA color, line style and line width |
|
LineStylePen(LineStylePen _pen)
Deprecated. Create a copy of pen |
|
| Method Summary | |
|---|---|
IPen |
copyPen()
Deprecated. |
void |
drawPath(IGC gc,
IGCDirect gd,
IPath path)
Deprecated. Support only 0 and 1 pixel line width. |
protected void |
drawPath(IGC gc,
IGCDirect gd,
IPath path,
int[] def)
Deprecated. |
int |
getLineStyle()
Deprecated. |
int |
getLineWidth()
Deprecated. |
int |
getRGBA()
Deprecated. |
void |
setLineStyle(int line_style)
Deprecated. Change current line style, use SWT.LINE_xxxx constants |
void |
setLineWidth(int line_width)
Deprecated. Change current line width |
void |
setRGBA(int _rgba)
Deprecated. Change current RGBA color of pen |
static java.lang.String |
StrStyle(int style)
Deprecated. |
java.lang.String |
toString()
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int SOLID
public static final int DASH
public static final int DOT
public static final int DASH_DOT
public static final int DASH_DOT_DOT
public static final int PIXEL
public static final int[] DEF_DOT
public static final int[] DEF_DASH
public static final int[] DEF_DASH_DOT
public static final int[] DEF_DASH_DOT_DOT
public static final int[] DEF_PIXEL
protected int rgba_
protected int line_style_
protected int line_width_
protected IGC gc_
| Constructor Detail |
|---|
public LineStylePen(int _rgba,
int line_style,
int line_width)
public LineStylePen(int _rgba,
int line_style)
public LineStylePen(int _rgba)
public LineStylePen(LineStylePen _pen)
public LineStylePen()
| Method Detail |
|---|
public IPen copyPen()
copyPen in interface IPenpublic java.lang.String toString()
toString in class java.lang.Objectpublic static java.lang.String StrStyle(int style)
public int getRGBA()
public int getLineStyle()
public int getLineWidth()
public void setRGBA(int _rgba)
public void setLineStyle(int line_style)
public void setLineWidth(int line_width)
protected void drawPath(IGC gc,
IGCDirect gd,
IPath path,
int[] def)
public void drawPath(IGC gc,
IGCDirect gd,
IPath path)
drawPath in interface IPengc - IGC which require the path drawing.gd - IGCDirect used to convert to device coordinate and draw to low level graphics.path - IPath to draw.org.eclipse.tptp.platform.report.igc.internal.IPen#drawPath(org.eclipse.tptp.platform.report.igc.internal.IGC, org.eclipse.tptp.platform.report.igc.internal.IPath)
|
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 | ||||||||