check the stroke width for render