BBjDrawPanel
Description
In BBj 16.0 and higher, the BBjDrawPanel is the drawing surface associated with a BBjWindow.
Creation
BBjAPI > BBjSysGui > BBjWindow > BBjDrawPanel
A BBjDrawPanel is created through the following BBjWindow method:
Return Value |
Method |
---|---|
BBjDrawPanel |
Methods of BBjDrawPanel
Return Value |
Method |
---|---|
void | |
void |
clearDrawing(BBjColor color) |
void |
drawArc(number x, number y, int r, double aspect, double startAngle, double endAngle, boolean pieFlag) |
void | |
void |
drawEllipse(number x, number y, number width, int height) |
void |
|
void |
drawLine(int x1, int y1, int x2, int y2) |
void |
drawLineTo(number x, int y) |
void | |
void |
drawPolygon(java.util.List list) |
void |
drawPolyline(java.util.List list) |
void |
|
void |
|
int |
|
BBjFont | getFont() |
int |
|
int |
|
boolean |
getTrack() |
void |
|
void |
pop() |
void |
push() |
void |
setBackColor(BBjColor color) |
void |
setDrawMode(int mode) |
void |
setDrawUnits(int units) |
void |
setEnableRepaint(boolean enable) |
void |
setFillColor(BBjColor color) |
void |
setFillType(int fillType) |
void | setFont(BBjFont font!) |
void |
setOpaque(int style) |
void |
setPattern(int pattern) |
void |
setPenColor(BBjColor color) |
void |
setPenWidth(int width) |
void |
|
void |
setScribble(boolean scribble) |
void |
setTextColor(BBjColor color) |
Remarks
Prior to BBj 16.0, BBjDrawPanel functionality was only available using the drawing mnemonics. The corresponding mnemonics, if any, are noted in the See Also section of each method.
Example
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.