QCanvasBoxShadow: simplify constructor


Code calling a 7-parameter constructor (6 of which are floats) is hard
to read. Explicit calls to the radius, blur, and color setters produces
better code, without any performance drawbacks.

Addresses header review comments.

Pick-to: 6.12
Task-number: QTBUG-146286
Change-Id: I2913b1bf484c5852198eaae0b956c47ca96c6aed
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
commit26f5380762ddb5f785b2f52717f4a01dfa937423
parent8fd9a33b79014f8a9b113a9cd858a359793860cf
authorVolker Hilsheimer <volker.hilsheimer@qt.io>
committerVolker Hilsheimer <volker.hilsheimer@qt.io>
commit timeMon, 24 Aug 2026 19:49:30 +0000