DrawingMode()

Syntax

DrawingMode(Mode)
Description
Change the drawing mode for text and graphics output.

Mode can be a combination of the following constants:
  #PB_2DDrawing_Default    : Default mode, text is displayed with background, graphic shapes are filled.
  #PB_2DDrawing_Transparent: Set the text background as transparent.
  #PB_2DDrawing_XOr        : Enable the XOR mode (all graphics are XOR'ed with the current background).
  #PB_2DDrawing_Outlined   : Enable outlined shapes. Circle, Box, etc. will only be outlined, not filled.
To use several modes at once, you have to use the '|' (OR) operator. Example for XOR'ed outlined shapes:
  DrawingMode(#PB_2DDrawing_Outlined | #PB_2DDrawing_XOr)

Supported OS

All

<- DrawingFont() - 2DDrawing Index - Ellipse() ->