BBjDrawPanel::drawLine
Description
In BBj 16.00 and higher, this method draws a line on
the BBjDrawPanel from ( to x1,y1)( using the current pen
settings.x2,y2)
Syntax
|
Return Value |
Method |
|---|---|
|
void |
drawLine(int x1, int y1, int x2, int y2) |
Parameters
|
Variable |
Description |
|---|---|
|
x1 |
Horizontal position of upper left corner of the line. |
|
y1 |
Vertical position of the upper left corner of the line. |
|
x2 |
Horizontal position of the lower right corner of the line. |
|
y2 |
Vertical position of the lower right corner of the line. |
Return Value
None.
Remarks
This is equivalent to BBjDrawPanel::moveTo(x1,y1) followed by BBjDrawPanel::drawLine(x2,y2).
Example
|
See Also
LINE Mnemonic - Draw Line (SYSGUI)
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.