BBjDrawPanel::setRound
Description
In BBj 16.0 and higher, this setting can be used to round the corners of subsequent BBjDrawPanel::drawRect rectangles drawn on the BBjDrawPanel. The rounded corner may be symmetrical (xradius = yradius) or it may be a 90-degree segment of an ellipse.
Syntax
Return Value |
Method |
void |
setRound(number x, int y) |
Parameters
Variable |
Description |
x |
Horizontal radius of a corner. |
y |
Vertical radius of a corner. |
Return Value
None.
Remarks
Both of these values are initially set to 0 to produce square corners.
Example
|
See Also
ROUND Mnemonic - Draw Rounded Rectangles (SYSGUI)
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.