Platforms to show: All Mac Windows Linux Cross-Platform

Back to Picture class.

Picture.TrimWithMaskMBS(left as Integer, top as Integer, width as Integer, height as Integer) as picture

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Graphics & Pictures MBS Picture Plugin 8.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Trims the picture to the given rectangle.
Example
dim p as picture
dim someimage as Picture = LogoMBS(100)

p=someimage.TrimWithMaskMBS(100,200,300,400)

left and top are zero based.
Returns nil on low memory or bad parameters.

Blog Entries

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


The biggest plugin in space...