Difference between revisions of "Jly Icons8"
From Jeremie Leroy - XOJO Controls Wiki
| (3 intermediate revisions by 2 users not shown) | |||
| Line 7: | Line 7: | ||
jly_Icons8 automatically handles the ScaleFactor for you. | jly_Icons8 automatically handles the ScaleFactor for you. | ||
| + | Compatible with '''Desktop, Console''' and '''iOS''' applications. | ||
| Line 14: | Line 15: | ||
|- | |- | ||
|class=titleClass colspan=1|Properties | |class=titleClass colspan=1|Properties | ||
| − | |||
| − | |||
| − | |||
| − | |||
|- | |- | ||
|{{Property | name=Completed | type=Boolean | description= | readonly=no | newinversion= | version=1}} | |{{Property | name=Completed | type=Boolean | description= | readonly=no | newinversion= | version=1}} | ||
|- | |- | ||
| − | |{{Property | name=IconColor | type=Color | description= | + | |{{Property | name=IconColor | type=Color | description= | readonly=no | newinversion= | version=1}} |
|- | |- | ||
| − | |{{Property | name=IconSize | type=Integer | description= | + | |{{Property | name=IconSize | type=Integer | description= | readonly=no | newinversion= | version=1}} |
|- | |- | ||
| − | |{{Property | name=IconStyle | type=jly_Icons8.Styles | description= | + | |{{Property | name=IconStyle | type=jly_Icons8.Styles | description= | readonly=no | newinversion= | version=1}} |
|- | |- | ||
| Line 36: | Line 33: | ||
|class=titleClass colspan=1|Shared Properties | |class=titleClass colspan=1|Shared Properties | ||
|- | |- | ||
| − | |{{Property | name=globalScaleFactor | type=Double | description= | + | |{{Property | name=globalScaleFactor | type=Double | description= | readonly=no | newinversion= | version=1}} |
|- | |- | ||
| − | |{{Property | name=globalStyle | type=Styles | description= | + | |{{Property | name=globalStyle | type=Styles | description= | readonly=no | newinversion= | version=1}} |
|- | |- | ||
| − | |{{Property | name=UseCache | type=Boolean | description= | + | |{{Property | name=UseCache | type=Boolean | description= | readonly=no | newinversion= | version=1}} |
|- | |- | ||
| Line 51: | Line 48: | ||
|class=titleClass colspan=1|Methods | |class=titleClass colspan=1|Methods | ||
|- | |- | ||
| − | |{{Method | name=Constructor | params=style As Styles = Styles.ios, Size As Integer, aColor As Color= &c0 | description= | + | |{{Method | name=Constructor | params=style As Styles = Styles.ios, Size As Integer, aColor As Color= &c0 | description= | newinversion=}} |
|- | |- | ||
| − | |{{Method | name=Destructor | description= | + | |{{Method | name=Destructor | description= | newinversion=}} |
|- | |- | ||
| − | |{{Method | name=FindImageInCache | params=Name As Text, CheckExpiry As Boolean = True | description= | + | |{{Method | name=FindImageInCache | params=Name As Text, CheckExpiry As Boolean = True | description= | returntype=Auto | newinversion=}} |
|- | |- | ||
| − | |{{Method | name=IconURL | params=Name As Text | description= | + | |{{Method | name=IconURL | params=Name As Text | description= | returntype=Text | newinversion=}} |
|- | |- | ||
| − | |{{Method | name=LoadIcon | params=Name As Text, callback As Auto, moreData As Xojo.Core.Dictionary = nil, IgnoreCache As Boolean = False | description= | + | |{{Method | name=LoadIcon | params=Name As Text, callback As Auto, moreData As Xojo.Core.Dictionary = nil, IgnoreCache As Boolean = False | description= | newinversion=}} |
|- | |- | ||
| − | + | |{{Method | name=PreloadIcon | params=Name As Text, size As Integer = -1, IgnoreCache As Boolean = False | description= | newinversion=}} | |
| − | + | ||
| − | |{{Method | name=PreloadIcon | params=Name As Text, size As Integer = -1, IgnoreCache As Boolean = False | description= | + | |
|- | |- | ||
| Line 69: | Line 64: | ||
|} | |} | ||
| + | |||
| + | {| class=methodTable | ||
| + | |- | ||
| + | |class=titleClass colspan=1|Shared Methods | ||
| + | |- | ||
| + | |{{Method | name=LoadIconSimple | params=Name As Text, Size As Integer, control As Auto, aColor as Color = &c0 | description= | returntype=jly_Icons8 | newinversion=}} | ||
| + | |- | ||
| + | |||
| + | |- | ||
| + | |} | ||
| Line 74: | Line 79: | ||
| − | + | '''Styles''' | |
The following styles are available from Icons8 | The following styles are available from Icons8 | ||
| Line 89: | Line 94: | ||
*nolan | *nolan | ||
*dusk | *dusk | ||
| + | ==More Info== | ||
| + | |||
| + | |||
| + | ===Icons8=== | ||
| + | https://icons8.com | ||
| + | |||
| + | ===Icons8 License=== | ||
| + | https://icons8.com/license/ | ||
Latest revision as of 17:26, 4 June 2017
A very handy class that gives access to 50,000+ icons from Icons8
The perfect tool for prototyping a design without having to include tens or hundreds of icons in your App, in both standard and HiDPI.
jly_Icons8 automatically handles the ScaleFactor for you.
Compatible with Desktop, Console and iOS applications.
| Properties |
| Completed |
| IconColor |
| IconSize |
| IconStyle |
| Shared Properties |
| globalScaleFactor |
| globalStyle |
| UseCache |
| Methods |
| Constructor |
| Destructor |
| FindImageInCache |
| IconURL |
| LoadIcon |
| PreloadIcon |
| Shared Methods |
| LoadIconSimple |
Enumerations
Styles
The following styles are available from Icons8
- ios
- win
- win8
- material
- android4
- color
- office
- ultraviolet
- dotty
- nolan
- dusk