Platforms to show: All Mac Windows Linux Cross-Platform

Back to Picture class.

Picture.BitmapMBS as picture

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Graphics & Pictures MBS Picture Plugin ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns the picture as a bitmap picture.
Example
dim p,r as picture
r=LogoMBS(500)
p=r.BitmapMBS
canvas1.backdrop=p

A Xojo picture object may contain an icon, a bitmap, a picture handle or something else what Xojo will support as a picture in the future.
The picture editing functions of this plugin can only work with bitmap pictures and this clone function creates such pictures for you.
This function takes a look on the picture and returns it unchanged if it is allready a bitmap, but if not, the picture is Cloned as a bitmap. If you prefer to get a copy of the picture as a bitmap picture, use clone instead.

The Cloned picture does not have a mask.

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...