implementing strokewidth