SET THE FILLING PATTERN OF FIGURES: DIAGONAL UP LINES
ACTION
The command 2D_FILL_DIAGONAL_UP set the filling pattern for the further figures to be drawn (CIRCLE, RECTANGLE) with diagonal up lines.
By default, there is no filling pattern: the filling is solid. The command 2D_FILLING_SOLID comes back to a solid filling.
SYNTAX:
2D_FILL_DIAGONAL_UP
USE ERROR EXAMPLE
rem draw a rectangle with yellow border
rem and filled with pink diagonal up lines
2d_fill_diagonal_up
2d_clear
2d_pen_width 6
2d_pen_color 250,250,0
2d_fill_color 250,0,250
2d_rectangle 10,10,400,350
2D_FILL_DIAGONAL_UP
2D_FILL_DIAGONAL_UP
SEE ALSO
2D_RECTANGLE
2D_ELLIPSE
2D_CIRCLE
2D_FILL_COLOR
2D_FILL_CROSS
2D_FILL_DIAGONAL_CROSS
2D_FILL_DIAGONAL_DOWN
2D_FILL_HORIZONTAL
2D_FILL_SOLID
2D_FILL_VERTICAL