Simple drawDashedRectangle?


#1

am i very stupid, or is there no direct way to draw a dashed rectangle?


#2

well it is quite easy, though I’m not sure you’re necessarily being stupid by not spotting it - check out the PathStrokeType::createDashedStroke() method.


#3