Difference between revisions of "Jly Icons8"

From Jeremie Leroy - XOJO Controls Wiki
Jump to: navigation, search
Line 6: Line 6:
  
 
jly_Icons8 automatically handles the ScaleFactor for you.
 
jly_Icons8 automatically handles the ScaleFactor for you.
 
[[File:https://png.icons8.com/iphone/ultraviolet]]
 
  
  
Line 15: Line 13:
 
{| class=propertyTable
 
{| class=propertyTable
 
|-
 
|-
|class=titleClass colspan=2|Properties
+
|class=titleClass colspan=1|Properties
 
|-
 
|-
|width=50%|{{Property | name=callback | type=LoadIconDelegate | description= | readonly=no | newinversion= | version=1}}
+
|{{Property | name=callback | type=LoadIconDelegate | description= | readonly=no | newinversion= | version=1}}
|width=50%|{{Property | name=IconColor | type=Color | description= | readonly=no | newinversion= | version=1}}
+
 
|-
 
|-
|width=50%|{{Property | name=callbackiOS | type=LoadIconDelegateiOS | description= | readonly=no | newinversion= | version=1}}
+
|{{Property | name=callbackiOS | type=LoadIconDelegateiOS | description= | readonly=no | newinversion= | version=1}}
|width=50%|{{Property | name=IconSize | type=Integer | description= | readonly=no | newinversion= | version=1}}
+
 
|-
 
|-
|width=50%|{{Property | name=Completed | type=Boolean | description= | readonly=no | newinversion= | version=1}}
+
|{{Property | name=Completed | type=Boolean | description= | readonly=no | newinversion= | version=1}}
|width=50%|{{Property | name=IconStyle | type=jly_Icons8.Styles | description= | readonly=no | newinversion= | version=1}}
+
 
|-
 
|-
|width=50%|{{Property | name=globalScaleFactor | type=Double | description=This property isn't accessible on iOS because it is handled automatically. | readonly=no | newinversion= | version=1}}
+
|{{Property | name=IconColor | type=Color | description=The color of the icon that will be loaded with this instance of jly_Icons8. | readonly=no | newinversion= | version=1}}
|width=50%|{{Property | name=UseCache | type=Boolean | description=If True, the Icons8 class will cache all icons in | readonly=no | newinversion= | version=1}}
+
|-
 +
|{{Property | name=IconSize | type=Integer | description=The size of the icon that will be loaded with this instance of jly_Icons8. | readonly=no | newinversion= | version=1}}
 +
|-
 +
|{{Property | name=IconStyle | type=jly_Icons8.Styles | description=The style of the icon that will be loaded with this instance of jly_Icons8. | readonly=no | newinversion= | version=1}}
 
|-
 
|-
|width=50%|{{Property | name=globalStyle | type=Styles | description=The style to use with [[jly_Icons8.LoadIconSimple|LoadIconSimple]] method. | readonly=no | newinversion= | version=1}}
 
  
 
|-
 
|-
|width=50%|{{Property | name=IconColor | type=Color | description= | readonly=no | newinversion= | version=1}}
 
 
|}
 
|}
  
 +
 +
{| class=propertyTable
 +
|-
 +
|class=titleClass colspan=1|Shared Properties
 +
|-
 +
|{{Property | name=globalScaleFactor | type=Double | description=This property isn't accessible on iOS because it is handled automatically. | readonly=no | newinversion= | version=1}}
 +
|-
 +
|{{Property | name=globalStyle | type=Styles | description=The style to use with [[jly_Icons8.LoadIconSimple|LoadIconSimple]] method. | readonly=no | newinversion= | version=1}}
 +
|-
 +
|{{Property | name=UseCache | type=Boolean | description=If True, the Icons8 class will cache all icons in | readonly=no | newinversion= | version=1}}
 +
|-
 +
 +
|-
 +
|}
  
  

Revision as of 17:05, 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.



Properties
callback
callbackiOS
Completed
IconColor
IconSize
IconStyle


Shared Properties
globalScaleFactor
globalStyle]]
UseCache


Methods
Constructor]]
Destructor]]
FindImageInCache
IconURL
LoadIcon
LoadIconSimple
PreloadIcon]]


Enumerations

Styles

The following styles are available from Icons8

  • ios
  • win
  • win8
  • material
  • android4
  • color
  • office
  • ultraviolet
  • dotty
  • nolan
  • dusk