DRAW_BOX
Draws an axis-aligned box between two opposite corners. The lines are its 12 edges. A cube is a box with equal sides.
Parameters and results
canvasTYPE c0de_paint/cpaint/CANVAS: the canvas (a variable)from,toSTRUCT c0de_paint/cpaint/POINT: the cornersline_style,side_style,fill_styleTYPE c0de_paint/cpaint/STYLE: the styles (optional)
Example
c0de
CALL c0de_paint/cpaint/DRAW_BOX
PARAMETER canvas c ;
PARAMETER from a ;
PARAMETER to b ;
PARAMETER line_style logs ;
PARAMETER side_style planks ;