Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

CompositeIconsMBS(ForeGround as IconMBS, BackGround as IconMBS) as IconMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Icon Service MBS Picture Plugin 5.1 Yes No No Yes, macOS only No
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).

Feedback, Comments & Corrections

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




Links
MBS Xojo Plugins