Gambas Documentation - /comp/gb.sdl/draw

# Draw (gb.sdl)

This class is used for drawing on a Window or a Image object (disabled currently).

Before starting drawing anything, you must call the Begin method by passing it the object where you want to draw.

Then you can call any of the drawing methods to draw points, lines, texts, images...

When your drawing is finished, you must call the End method.

This class is static.

Static properties | Static methods
--- | ---
BackColor Background FillStyle Font ForeColor Foreground LineStyle LineWidth | Begins a new drawing. The device can be one of the following objects: Begin Ellipse End Image Line Point Rect Rotate Scale Text