Menu

Graphics Commands(ENG)

Useful graphics commands

1) line x y x1 y1 - Draws line from coordinates (x,y) to (x1,y1).

2) rect x y w h - Draws rectangle on coordinates (x,y), with width w, and height h.

3) oval x y w h - Draws oval on coordinates (x,y), with width w, and height h.

4) 3drect x y w h bol(true,false) - Draws rectangle with depth and width w, and height h.

5) arc x y w h sa aa - Draws arc on coordinates (x,y) with width w, height h and start angle sa, and arc angle aa.

6) roundrect x y x1 y1 aw ah - Draws rectangle with round angles, on coordinates (x,y) with width w and height h.

7) quardcurve x y ctrx ctry x1 y1 - Draws Quard curve on coordinates (x,y) to (x1,y1), with control point (ctrx,ctry).

8) cubiccurve x y ctrx ctry ctrx1 ctry1 x1 y1 - Draws cubic curve on coordinates (x,y) to (x1,y1), with two control points (ctrx,ctry), (ctrx1,ctry1).

9) polygon x x1 x2... y y1 y2... . n - Draws polygon from points (x1,y1), (x2,y2).

*Example: polygon x 10 20 10 20 y 10 10 20 20 . 3 *

10) string tet x y - draws text txt on coordinates (x,y).


MongoDB Logo MongoDB