Difference between revisions of "Jly Icons8.Constructor"
From Jeremie Leroy - XOJO Controls Wiki
| (4 intermediate revisions by 2 users not shown) | |||
| Line 11: | Line 11: | ||
| − | The | + | |
| − | The default ''style'' is iOS (line icons). Only the'' Size'' is a required parameter. | + | The constructor for the class. |
| + | |||
| + | The default ''style'' is iOS (line icons). Only the ''Size'' is a required parameter. | ||
| + | |||
| + | The size should be the display size whatever the resolution. | ||
| + | |||
| + | If you need a 32x32px icon for HiDPI Display, set the globalScaleFactor and set IconSize to 32 in this function. | ||
Latest revision as of 16:32, 4 June 2017
Method
jly_Icons8.Constructor ( style As Styles = Styles.ios, Size As Integer, aColor As Color= &c0 )
The constructor for the class.
The default style is iOS (line icons). Only the Size is a required parameter.
The size should be the display size whatever the resolution.
If you need a 32x32px icon for HiDPI Display, set the globalScaleFactor and set IconSize to 32 in this function.