OPAQUE Mnemonic - Set SYSGUI Text Transparency Mode

Syntax

'OPAQUE'(int)

Description

The 'OPAQUE' mnemonic sets the text to be opaque or transparent. Text plotted to the SYSGUI drawing surface using the 'PLOTTEXT' mnemonic may be rendered in different ways, depending on the value passed to the 'OPAQUE' mnemonic. Text can be opaque ('BACKCOLOR' is plotted in 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.

Parameter

Description

int

Sets the level of opacity from transparent to opaque.

 

IValue

Type of Text

 

0

Transparent, not scaled.

 

1

Opaque, not scaled.

 

2

Opaque, scaled (default).

The default setting is 2, and the text is opaque (rectangle is filled with background color) and scaled (text changes size if the drawing is resized). Note that transparent text is not affected by the draw mode.

See Also

Mnemonics - Alphabetical Listing

Mnemonics - Group Listing