What unit of measure does Paint.setStrokeWidth() use? May 12, 2023 by Tarik The stroke width is defined in pixels (yes it’s a float, and there’s no problem with using fractions of pixels 🙂