Set hatch fill parameters as a function
a