|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRemoteLineFormat
This class represents the line format of a shape.
Access
To get the line format of a shape, use the LineFormat property in the Shape class.
Field Summary | |
---|---|
static java.lang.String |
DASHLINE_NAME_2_DOTS_1_DASH
|
static java.lang.String |
DASHLINE_NAME_3_DASHES_3_DOTS_VARIABLE
|
static java.lang.String |
DASHLINE_NAME_DASHED_VARIABLE
|
static java.lang.String |
DASHLINE_NAME_FINE_DASHED
|
static java.lang.String |
DASHLINE_NAME_FINE_DASHED_VARIABLE
|
static java.lang.String |
DASHLINE_NAME_FINE_DOTTED
|
static java.lang.String |
DASHLINE_NAME_LINE_STYLE_9
|
static java.lang.String |
DASHLINE_NAME_LINE_WITH_FINE_DOTS
|
static java.lang.String |
DASHLINE_NAME_ULTRAFINE_2_DOTS_3_DASHES
|
static java.lang.String |
DASHLINE_NAME_ULTRAFINE_DASHED
|
static java.lang.String |
DASHLINE_NAME_ULTRAFINE_DOTTED_VARIABLE
|
static int |
LINE_MODE_DASHLINE
specifies dashed line mode. |
static int |
LINE_MODE_NONE
specifies no line mode. |
static int |
LINE_MODE_SOLIDLINE
specifies solid line mode. |
Method Summary | |
---|---|
void |
drawDashLine(int dash1,
int dash1Len,
int dash2,
int dash2Len,
int distance)
This method draws a dashed line. |
void |
drawDashLineByName(java.lang.String name)
This method draws a line by dash mode name. |
void |
drawNone()
This method draws a line using no mode. |
void |
drawSolidLine()
This method draws a solid line. |
int |
getLineColor()
This property returns or sets a line color. |
IRemoteDash |
getLineDash()
This property returns the dash format of a line. |
int |
getLineMode()
This property returns the line mode. |
int |
getLineWidth()
This property returns or sets the line width. |
short |
getTransparence()
This property returns or sets the transparence of the object. |
void |
setLineColor(int color)
This property returns or sets a line color. |
void |
setLineWidth(int lineWidth)
This property returns or sets the line width. |
void |
setTransparence(short lineTransparence)
This property returns or sets the transparence of the object. |
Field Detail |
---|
static final java.lang.String DASHLINE_NAME_ULTRAFINE_DASHED
static final java.lang.String DASHLINE_NAME_FINE_DASHED
static final java.lang.String DASHLINE_NAME_ULTRAFINE_2_DOTS_3_DASHES
static final java.lang.String DASHLINE_NAME_FINE_DOTTED
static final java.lang.String DASHLINE_NAME_LINE_WITH_FINE_DOTS
static final java.lang.String DASHLINE_NAME_FINE_DASHED_VARIABLE
static final java.lang.String DASHLINE_NAME_3_DASHES_3_DOTS_VARIABLE
static final java.lang.String DASHLINE_NAME_ULTRAFINE_DOTTED_VARIABLE
static final java.lang.String DASHLINE_NAME_LINE_STYLE_9
static final java.lang.String DASHLINE_NAME_2_DOTS_1_DASH
static final java.lang.String DASHLINE_NAME_DASHED_VARIABLE
static final int LINE_MODE_NONE
static final int LINE_MODE_SOLIDLINE
static final int LINE_MODE_DASHLINE
Method Detail |
---|
int getLineMode() throws RemoteEclipseAPIException
Constant | Value | Description |
---|---|---|
LineFormat.LINE_MODE_NONE | 0 | specifies no line mode. |
LineFormat.LINE_MODE_SOLIDLINE | 1 | specifies solid line mode. |
LineFormat.LINE_MODE_DASHLINE | 2 | specifies dashed line mode. |
RemoteEclipseAPIException
IRemoteDash getLineDash() throws RemoteEclipseAPIException
RemoteEclipseAPIException
void setLineColor(int color) throws RemoteEclipseAPIException
color
- color
RemoteEclipseAPIException
int getLineColor() throws RemoteEclipseAPIException
RemoteEclipseAPIException
short getTransparence() throws RemoteEclipseAPIException
RemoteEclipseAPIException
void setTransparence(short lineTransparence) throws RemoteEclipseAPIException
lineTransparence
-
RemoteEclipseAPIException
void setLineWidth(int lineWidth) throws RemoteEclipseAPIException
lineWidth
-
RemoteEclipseAPIException
int getLineWidth() throws RemoteEclipseAPIException
RemoteEclipseAPIException
void drawNone() throws RemoteEclipseAPIException
RemoteEclipseAPIException
void drawSolidLine() throws RemoteEclipseAPIException
RemoteEclipseAPIException
void drawDashLine(int dash1, int dash1Len, int dash2, int dash2Len, int distance) throws RemoteEclipseAPIException
dash1
- Specifies the number of dashes in dash 1. If the value of this parameter is negative, this method throws an exception.dash1Len
- Specifies the length of each dash in dash 1 in 1/100th mm. If the value of this parameter is negative, this method throws an exception.dash2
- Specifies the number of dashes in dash 2. If the value of this parameter is negative, this method throws an exception.dash2Len
- Specifies the length of each dash in dash 2 in 1/100th mm. If the value of this parameter is negative, this method throws an exception.distance
- Specifies the distance between dashes in 1/100th mm. If the value of this parameter is negative, this method throws an exception.
RemoteEclipseAPIException
void drawDashLineByName(java.lang.String name) throws RemoteEclipseAPIException
name
- Specifies the dash name. The name is a constant and can be one of the following values:Constant | Value | Description |
---|---|---|
LineFormat.DASHLINE_NAME_ULTRAFINE_DASHED | "Ultrafine Dashed" | |
LineFormat.DASHLINE_NAME_FINE_DASHED | "Fine Dashed" | |
LineFormat.DASHLINE_NAME_ULTRAFINE_2_DOTS_3_DASHES | "Ultrafine 2 Dots 3 Dashes" | |
LineFormat.DASHLINE_NAME_FINE_DOTTED | "Fine Dotted" | |
LineFormat.DASHLINE_NAME_LINE_WITH_FINE_DOTS | "Line with Fine Dots" | |
LineFormat.DASHLINE_NAME_FINE_DASHED_VARIABLE | "Fine Dashed (var)" | |
LineFormat.DASHLINE_NAME_3_DASHES_3_DOTS_VARIABLE | "3 Dashes 3 Dots (var)" | |
LineFormat.DASHLINE_NAME_ULTRAFINE_DOTTED_VARIABLE | "Ultrafine Dotted (var)" | |
LineFormat.DASHLINE_NAME_LINE_STYLE_9 | "Line Style 9" | |
LineFormat.DASHLINE_NAME_2_DOTS_1_DASH | "2 Dots 1 Dash" | |
LineFormat.DASHLINE_NAME_DASHED_VARIABLE | "Dashed (var)" |
RemoteEclipseAPIException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |