There is a tiny difference, but nothing significant. The rectangle with a
transparent color will not be added to the scenegraph and the one with opacity
set to zero will be ignored. In either case they are not actually rendered ;)
-
Gunnar
> On 12. nov. 2013, at 19:37, "Preet" wrote:
>
> Hi,
Hi,
In the interest of performance, if I have a Rectangle that I don't
want to be rendered when its completely transparent (but otherwise
want it to act like an Item -- assume it doesn't have any children) is
there any difference between the following?:
case 1:
Rectangle { height: 50; width: 50;