Implemented in C # code description:
void DrawPathToHatch1 Private () { // the beginning of the path of movement of the specified point // as parameters of a coordinate of a point X, Y coordinates of the point two parameters, the three parameters for that point on the width of the line Polyline rendering effective // parameters four width end point, the line drawn on the Polyline effective for // crown at five parameters that point, rendering effective Polyline line axMxDrawX1.PathMoveToEx (0, 30, 0.3, 0.3, 0.3); // path at points axMxDrawX1.PathLineTo (100, 30); // path at points axMxDrawX1.PathLineTo (100, 90); at points // path axMxDrawX1.PathLineTo (0, 30); // set the color axMxDrawX1.AddLinetype ( "MLineType1", ""); axMxDrawX1.LineType = "MLineType1"; axMxDrawX1.DrawCADColor = 255; // close the path axMxDrawX1.DrawPathToHatch (1); // ------------------------------------------------ ----------------------------------------------- axMxDrawX1.PathMoveToEx (50, 120, 0.3, 0.3, 0.3); // path at points axMxDrawX1.PathLineTo (150, 120); // path at points axMxDrawX1.PathLineTo (150, 180); at a // path point axMxDrawX1.PathLineTo (50, 120); // set the color axMxDrawX1.AddLinetype ( "MLineType2", ""); axMxDrawX1.LineType = "MLineType2"; axMxDrawX1.DrawCADColor = 65280; // close the path axMxDrawX1.DrawPathToHatch (1 ); // ---------------------------------------------- ------------------------------------------------- axMxDrawX1 .PathMoveToEx (110, 50, 0.3, 0.3, 0.3); // path at points axMxDrawX1.PathLineTo (200 is, 30); // path at points axMxDrawX1.PathLineTo (200 is, 90); // path at points axMxDrawX1.PathLineTo (110, 50); // set color axMxDrawX1.AddLinetype ( "MLineType3", ""); axMxDrawX1.LineType = "MLineType3"; axMxDrawX1.DrawCADColor = 65535; // close the path axMxDrawX1.DrawPathToHatch (. 1); // -------- -------------------------------------------------- ------------------------------------- axMxDrawX1.PathMoveToEx (250, 30, 0.3, 0.3, 0.3 ); // path at points axMxDrawX1.PathLineTo (300, 30); // path at points ; axMxDrawX1.PathLineTo (300, 90) points // path about axMxDrawX1.PathLineTo (250, 30); // set the color axMxDrawX1.AddLinetype ( "MLineType4", ""); axMxDrawX1.LineType = "MLineType4"; axMxDrawX1.DrawCADColor = 16.71168 million; // close the path axMxDrawX1.DrawPathToHatch (. 1); }