Platforms to show: All Mac Windows Linux Cross-Platform

IconMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Icon Service MBS Picture Plugin 2.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
A class for an icon on Mac OS.

For Linux, please use LinuxIconMBS module.

  • 4 properties
  • 10 methods
    • method Constructor(f as folderitem, NoBadge as boolean = false)
    • method Constructor(type as string, creator as string)
    • method Constructor(type as string, creator as string, extension as string, mime as string)
    • method DrawIconCGContext(CGContextHandle as Integer,x as Integer,y as Integer,width as Integer,height as Integer, align as Integer, transform as Integer, flags as Integer, labelColor as color)
    • method GetBackground as IconMBS
    • method GetForeground as IconMBS
    • method IsIconRefMaskEmpty as boolean
    • method PointInIcon(pointx as Integer,pointy as Integer,x as Integer,y as Integer,width as Integer,height as Integer,align as Integer) as boolean
    • method RectInIcon(rectx as Integer,recty as Integer,rectwidth as Integer,rectheight as Integer,x as Integer,y as Integer,width as Integer,height as Integer,align as Integer) as boolean
    • method RetainCount as Integer

This class has no sub classes.

Some examples using this class:

Blog Entries

Release notes

  • Version 18.0
    • Added checks to IconMBS class to make sure you don't get corrupted images.

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


ICDeviceMBS   -   ICScannerBandDataMBS


💬 Ask a question or report a problem
The biggest plugin in space...