2D_PEN_DASH

DÉFINIT LE STYLE DU TRACÉ: SÉRIE DE TRAITS



ACTION

La commande 2D_PEN_DASH définit le style du tracé pour tous les nouveaux dessins avec des séries de traits.

Par défaut, le tracé est plein. La commande 2D_PEN_SOLID revient au tracé plein.

Remarque: cette commande n'est active que si la largeur du tracé est 1 (2D_PEN_WIDTH).


SYNTAXE : 2D_PEN_DASH


UTILISATION


ERREUR


EXEMPLE

' trace un rectangle

' la ligne est constituée de traits roses

2d_pen_dash

2d_rectangle 10,10,400,350


EN RAPPORT

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


Content created by Jack. Updated March 07, 2025