BBjDrawPanel::drawArrow
Description
In BBj 16.0 and higher, this method draws a line on the BBjDrawPanel from the current pen position to the position defined by x,y, like BBjDrawPanel::drawLineTo, but also places an optional arrow head at either or both ends.
Syntax
Return Value |
Method |
void |
drawArrow(int x, int y, boolean head, boolean tail) |
Parameters
Variable |
Description |
x |
Horizontal position of the end point of the line. |
y |
Vertical position of the end point of the line. |
head |
If non-zero, an arrow head is drawn at the start of the line (the original pen position). |
tail |
If non-zero, an arrow head is drawn at the end of the line (the position defined by x,y). |
Return Value
None.
Remarks
If head
and tail
are
both zero, this method is equivalent to BBjDrawPanel::drawLineTo.
Example
|
See Also
ARROW Mnemonic - Draw Arrow (SYSGUI)
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.