Using polygon options Using polygon options The following code example changes the line style of a polygon when the mouse pointer moves over a polygon.