finish the first draft of this section
change the translation of pattern in line-pattern and polygon-pattern