| Reply | « Previous Thread | Next Thread » |
|
Hy everybody,
i got the problem that i have an svg image and i wolud like to change the height and the width . _____ this.element.setCurrentScale( t); _____ and my svg images is scaled but i want to change only the width or heiht or doing it unproportional. so if you can help me i would ne pleasured if you do that :) |
| ThatIsEnough |
| View Public Profile |
| Find all posts by ThatIsEnough |
|
Make sure that viewBox="0 0 95 178" preserveAspectRatio="none" in the svg image is set now you can setViewportWidth(width); and the height you want.
The only problem is you have to initial your image everytime you render it . So if you fix the problem please post it. i will do the same :) |
| ThatIsEnough |
| View Public Profile |
| Find all posts by ThatIsEnough |
|
Hi i am nit1507 can u pls tell me which sdk u r using for svg implementation ...i tried by using ri jsr226 i complied the the demo files but in emulator they r not being displayed ...as u r running the same can u find out the problem...pls help me
|
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|