BBjDrawPanel::drawImage
Description
In BBj 16.0 and higher, this method draws a BBjImage on the BBjDrawPanel.
Syntax
Return Value |
Method |
---|---|
void |
drawImage(BBjImage image, int x1, int y1, int x2, int y2) |
Parameters
Variable |
Description |
---|---|
image |
The BBjImage to be drawn. |
x1 |
Horizontal position of upper left corner of the image. |
y1 |
Vertical position of the upper left corner of the image. |
x2 |
Horizontal position of the lower right corner of the image. |
y2 |
Vertical position of the lower right corner of the image. |
Return Value
None.
Remarks
If (x1,y1) equals (x2,y2), the image is not scaled to fit the specified
rectangle but is instead drawn in its intrinsic size, with the upper right
corner of the image at (x1,y1)
.
Example
|
See Also
IMAGE Mnemonic - Draw Bitmapped Image (SYSGUI)
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.