Set hatch fill parameter as a function
a