converting stroke to a regular attribute