Regarding rectangle size variation
i want to develop an trepezium using qml.
how can i do that, what is the possible solution for this ? can anyone please suggest.
do i need to use canvas or is there any other solution?
Have a look at the Canvas element in the Qt5_cadaques book.
What are you trying to do?
If it's any sort of rotation of a rect.... http://doc.qt.io/qt-5.6/qml-qtquick-rotation.html may help.