Xojo Developer Conference
Join us from 25th to 27th April 2018 in Denver.

Platforms to show: All Mac Windows Linux Cross-Platform

CompositeIconsMBS(ForeGround as IconMBS, BackGround as IconMBS) as IconMBS
global method, Icon Service, MBS Picture Plugin (Icon),
Plugin version: 5.1, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Combines two icons.
Example:
dim i as IconMBS // global

Sub Open()
dim a,b as IconMBS

b=new IconMBS(SpecialFolder.Desktop)
a=new IconMBS(app.ApplicationFileMBS)

i=CompositeIconsMBS(a,b)

End Sub

Sub Paint(g As Graphics)
i.DrawIcon(g,0,0,128,128)
End Sub
Notes: Returns nil on any error (e.g. one of the two icons is invalid or nil).

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




Links
MBS Xojo Chart Plugins