Adds color and width to 2D line rendering.