BBjDrawPanel::setOpaque
Description
In BBj 16.0 and higher, this method sets text to be opaque or transparent. Text plotted to the BBjDrawPanel using BBjDrawPanel::drawText may be rendered in different ways, depending on the BBjDrawPanel::setOpaque setting. Text can be opaque (the BBjDrawPanel::setBackColor color is plotted in a rectangle behind the text) or transparent (objects behind the text can be seen in the spaces between the letters). Text is not resized if the drawing is resized (the text is not scaled), so that a 10-point font will always be shown as a 10-point font, regardless of changes to the drawing surface. However, opaque text may be scaled, if desired.
Syntax
Return Value |
Method |
void |
setOpaque(int style) |
Parameters
Variable |
Description |
style |
Text opacity style:
|
Return Value
None.
Remarks
None.
Example
|
See Also
OPAQUE Mnemonic - Set SYSGUI Text Transparency Mode
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.