SpiderBasic - 2DDrawing

Overview

The 2D drawing library contains all the 2D rendering operations that can be performed on a visual area. Drawing a line, a box, a circle or even text is considered a 2D rendering operation.

The output of the drawing functions is possible on a sprite, a canvas or an image. More information can be found at StartDrawing().

Note: The drawing process starts after calling StartDrawing() and must end with StopDrawing().

Command Index

Alpha
BackColor
Blue
Box
Circle
DrawImage
DrawText
DrawingFont
DrawingMode
Ellipse
FrontColor
Green
Line
LineXY
OutputDepth
OutputHeight
OutputWidth
Plot
Point
RGB
RGBA
Red
RoundBox
StartDrawing
StopDrawing
TextHeight
TextWidth

Example

2DDrawing.sb
Reference Manual - Index