Project: svg
Task (challenging): When the length of the line is less than line width, keep it to be the line width. When the width or height of the rect is less than line width, keep it to be line width.