BBjDrawPanel::drawLine
Description
In BBj 16.0 and higher, this method draws a line on
the BBjDrawPanel from (x1,y1)
to (x2,y2)
using the current pen
settings.
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.