PixMapShape help

Hi Guys.
Can you tell me, please, where is my mistake?
Because my plane hasn’t rotated… :slight_smile:

There is example code for rotating an image on the documentation page for PixmapShape.Image

You’ll need to draw the PixmapShape after you rotate to see the rotated image.

Oh Yes. Now is working :+1:

Var myPic As New Picture(32,32)
Var px As New PixmapShape(myPic)
px.Image = airplane
px.Rotation = 45
myPic.Graphics.DrawObject(px,16,16) 'DRAW ! :-)

Canvas1.Backdrop = myPic
ImageWell1.Image = myPic
1 Like