Platforms to show: All Mac Windows Linux Cross-Platform

Back to Picture class.

Picture.RotateMBS(angle as Double, background as color = &cFFFFFFFF) as picture

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Graphics & Pictures MBS Picture Plugin ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Rotates the picture by angle° counter clockwise.
Example
dim p,r as picture
r=LogoMBS(500)
p=r.cloneMBS
canvas1.backdrop=p.RotateMBS(42.3,rgb(255,255,255))

The area around the picture is filled using the backcolor.

You may use the function picture.bitmap to make sure that the picture is a bitmap, because this function works only for bitmap pictures.

Alpha channel support is half done. If it's working for you, please enjoy it. If not, please report.

Some examples using this method:

Blog Entries

The items on this page are in the following plugins: MBS Picture Plugin.


The biggest plugin in space...