How to draw hatch programmatically using BRX

I have a polygon and draw a certain type of hatch in it, please help how can I achieve it.

Any tips or sample is a great help.

Thanks.