2D_PEN_DASH

2D_PEN_DASH

SET THE DRAWING STYLE (PEN): SERIES OF DASHES

  • Type: Command
  • Parameter: 0
  • Group: Drawing

ACTION

The command 2D_PEN_DASH set the drawing style for the further drawings with series of dashes.

By default, the drawing is solid. The command 2D_PEN_SOLID comes back to a solid drawing.

Remark: this command is active only if the width of the drawing is 1 (2D_PEN_WIDTH).

SYNTAX: 2D_PEN_DASH

USE

  • The command 2D_PEN_DASH is used to set a style for the next drawings.

ERROR

  • None.

EXAMPLE

rem draw a rectangle

rem the line is made up of a series of dashes

2d_pen_dash

2d_rectangle 10,10,400,350

SEE ALSO

2D_ARC

2D_CIRCLE

2D_RECTANGLE

2D_ELLIPSE

2D_LINE

2D_POLY_FROM

2D_POLY_TO

2D_POINT

2D_PEN_COLOR

2D_PEN_DASH_DOT

2D_PEN_DASH_DOT_DOT

2D_PEN_DOT

2D_PEN_SOLID

2D_PEN_WIDTH