What is the impact of viewportwidth/height on Android drawables

后端 未结 4 1872
迷失自我
迷失自我 2020-12-23 12:59

I have an vector drawable I imported from an SVG asset. Sometimes, I have to adjust the size. Usually I update width and height. What I can\'t work out is how viewportwidth

4条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-23 13:44

    Viewportwidth/Viewportheight are the dimensions of the canvas for the SVG paths and the width/height are the actual intrinsic dimensions of the entire drawable.

提交回复
热议问题