Android Question SVG Rotate

piedy

Member
Licensed User
Longtime User
Hi,

I'm trying to read in a SVG file and then rotate the image by 90 degrees. Any ideas? This is my current code:

B4X:
Activity.LoadLayout("1")

Dim cvs1 As Canvas
cvs1.Initialize(ImageView1)

Dim SVG1 As SVG
SVG1.Initialize(File.DirAssets, "picture.svg")

Dim rect1 AsRect
rect1.Initialize(0,0,100dip,100dip)

SVG1.DrawPicture(cvs1, rect1)

Many thanks for your help.
 
Top