Drawing
Line(X1,Y1,X2,Y2:number); |
Procedure EscapeE only. LINE procedure draws a line from X1,Y1 to X2,Y2 using the the current PEN and COLOR, see below. |
EscapeE only. COLOR procedure (or the alternative spelling COLOUR) specifies a color for TEXT and LINE drawing. COLOR(255,128,0) would be orange. (Equivalent to COLOR($FF,$80,$00) in Hex.) See also BRUSH procedure below. |
Brush(Red,Green,Blue: number); |
Procedure EscapeE only. BRUSH specifies the color for filled regions; see BOX and BUTTON procedures below. BRUSH(0,255,255) would be cyan. (Equivalent to BRUSH($00,$FF,$FF) in Hex.) |
Pen(Width:number); |
Procedure EscapeE only. PEN specifies the pen's WIDTH in pixels (at 600dpi) for LINE drawing. |
EscapeE only. BOX fills an area DX wide by DY high at position X,Y (in pixels at 600dpi) using the color specified by BRUSH. |
EscapeE only. BUTTON draws a filled button shape (lozenge) in the selected BRUSH color. |
Circle(X,Y,R[,Section]:number); |
Procedure EscapeE only. CIRCLE draws a complete circle or a SECTION of a circle, radius R centered at position X,Y, (measured in pixels at 600dpi) using the current PEN and COLOR. If SECTION parameter is omitted a complete circle is drawn. section=0 draws a complete circle (default) |
Curve(L:list); |
Procedure EscapeE only. CURVE displays a Bezier curve. |
|
L:= |
|
See rs2 demo files and choose poly.rs2 |
PolyLine(L:list); |
Procedure EscapeE only. Displays a POLYLINE linking all points specified by lists of coordinates in list L. See rs2 demo files and choose poly.rs2 |
EscapeE only. FRAME draws a rectangle DX wide by DY high at X,Y (measured in pixels at 600dpi) using the selected PEN and COLOR. |