Simple line output can be created by using the LineTo and MoveTo functions. The application created the rectangle on the left by using a styled pen and the rectangle on the right by using a solid pen.