hi sir,
Solid hatching is not working, I tried the below code
const polyline = new HatchPolylineBoundary();
polyline.add(vertex(0, 0));
polyline.add(vertex(0, 10));
polyline.add(vertex(10, 10));
polyline.add(vertex(10, 0));
Those looking for a workaround, you can use gradient. Set both colors to same color and Walla! It doesn't seem to support custom colors or even pre-defined colors, for gradient.
hi sir, Solid hatching is not working, I tried the below code const polyline = new HatchPolylineBoundary(); polyline.add(vertex(0, 0)); polyline.add(vertex(0, 10)); polyline.add(vertex(10, 10)); polyline.add(vertex(10, 0));