line To
Add a line to the ShapePath.
Parameters
x
the x to which the line should be drawn.
y
the y to which the line should be drawn.
Add two connected segments to the ShapePath. This is equivalent to call lineTo twice. If an inner corner is formed, this can also draw the compat shadow without overlapping.